how to clear the screen in c++ code example
Example 1: clear console c++
system ("CLS");
Example 2: clear screen in c++
enter code here
void clrscr()
{
system("cls");
}
system ("CLS");
enter code here
void clrscr()
{
system("cls");
}