In my programming of a Tic Tac Toe game in C++, I have wondered if I could clear the screen and update it with a revised game board instead of continually printing out another under each one. Is there a way to do so?
Printable View
In my programming of a Tic Tac Toe game in C++, I have wondered if I could clear the screen and update it with a revised game board instead of continually printing out another under each one. Is there a way to do so?
this NEEDS to go in the FAQ
I thought he wanted to update the Windows screen instead of console.
I drew my conclusion from the bolded statement.Quote:
In my programming of a Tic Tac Toe game in C++, I have wondered if I could clear the screen and update it with a revised game board instead of continually printing out another under each one. Is there a way to do so?
:)
Do not forget : to include stdlib.h
If you are using system("cls"); I often forget to add it!!!;)