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.