I was thinking of making a simple (keyword: simple! lol) tic-tac-toe game, but how do I make the cursor move around the command prompt window using the arrowkeys?
Suppose i printed something like this to the screen (without numbers):
_1_|_2_|_3_
_4_|_5_|_6_
7 | 8 | 9
then i wanted to go back and say print an X in the number 5 cell. how would i do that?
PS. Sorry if this is in the wrong forum. I couldn't decide if this was more of a C++ question or a game programming one.