system clear screen c++ code example
Example 1: c++ clear console
#include <Windows.h>
int main() {
//print stuff
system("cls"); // clear console
}
Example 2: clear console c++
system ("CLS");
Example 3: clear screen in c++
enter code here
void clrscr()
{
system("cls");
}