Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am trying to write a basic program to write a tick-tack-toe for a college assignment I have learnt the basics of arrays like indexing but need to know how to input data in to an array I have plenty of c++ books but there is nothing in them to help me with my problem.
Can anybody please tell how to do this so I can start the program or is they any tutorials on the web which will help me with my problem
I am trying to input x or a 0 in to a nine array char
| 0 | 1 | 2 |
| | | |
| 3 | 4 | 5 |
| | | |
| 6 | 7 | 8 |
I am not after anyone doing the program I just wish to know how to input in the arrays so I can start the program I know you must pass the x or 0 to a Variable and then to the array but don't know how to do this any help with this problem and I would be grateful.