+ 2
How do I make system("cls"); work in Sololearn for C++? (using this does not clear the screen for me here)
7 odpowiedzi
0
Can you show an example? :)
0
kurwis, remember I was working on a turn based strategy game?
https://www.sololearn.com/discuss/825084/?ref=app
In the game every time you make a move, the previous screen gets cleared and a new screen comes showing whatever move you made.
I was planning on uploading the code in Sololearn. But unless I can clear the screen, I can not make that happen in Sololearn.
0
Valenzelektron (Valence electron), Here is a simple Hello world code. If system("cls") worked, only "World" would have been printed.
https://code.sololearn.com/cKy859PiYe7W/?ref=app
0
Is there any alternative way to clear screen in sololearn?