I'm making a noughts and crosses game.
I got the board set up:
Well it looks perfect in my program.
Problem is that I can't get the bloody X or O inside the bloody places.
I believe I have to set the cursor position and then display it but there has got to be an esaier way?
I have all the rest of the logic working just can't position the X or O.
Can someone please help me?
Thanks
I got the board set up:
Code:
cout << "-----|------|-----" << endl;
cout << " | | " << endl;
cout << " | | " << endl;
cout << "-----|------|-----" << endl;
cout << " | | " << endl;
cout << " | | " << endl;
cout << "-----|------|-----" << endl;
cout << " | | " << endl;
cout << " | | " << endl;
cout << "-----|------|-----" << endl;
Well it looks perfect in my program.
Problem is that I can't get the bloody X or O inside the bloody places.
I believe I have to set the cursor position and then display it but there has got to be an esaier way?
I have all the rest of the logic working just can't position the X or O.
Can someone please help me?
Thanks