Clear Screen | Sololearn: Learn to code for FREE!


Clear Screen

Is there any other way to clean the console screen with out using the System("cls") function?


6/14/2018 5:30:08 AM


2 Answers

New Answer


The console isn't part of the C++ standard, so clearing the screen is pretty much platform-dependent.


Example (In line 34): system("cls") (Windows) system("clear") (Linux)