clear screen in c++ code example
Example 1: clear screen in c++
enter code here
void clrscr()
{
system("cls");
}
Example 2: how to clear console c++
#ifdef __cplusplus__
#include
#else
#include
#endif
if (system("CLS")) system("clear");