| COM314 (5) | |
| I'm working on a rock-paper-scissors game and I'd like to have the screen clear every time a new match starts. I've heard that system("CLS") is a bad thing to use and I've tried cout'ing a bunch of new lines, but I'd rather the text go back to the top without having to use the scroll bar. Is there a non-system command that I can use to do this? | |
|
|
|
| James2250 (324) | |
|
You can check this article for other ways to clear the screen apart from system calls. http://www.cplusplus.com/articles/4z18T05o/ | |
|
|
|