Display multiple chars without returning new line in c++

Hi all , i try to write the tic tac toe game , and i would like to display my checkerboard in the way that , if i enter a X or O char in one case , it will re-display the new board in the same place of the old board , it means without return to a new line. And from the begin to the end it'll display only one board for the whole game. How can i do that ?
I think you can use system("cls"); and redraw everything
You could, however it is OS-dependent and generally bad practice. I wouldn't worry about it too much (though you should try not to use it) if you are just writing a program for fun however.
Thanks for yours helps, i'll try system("cls").
Topic archived. No new replies allowed.