cpp_utils/clearscreen.hpp

13 lines
174 B
C++
Raw Normal View History

2021-05-30 07:47:27 +02:00
#include <iostream>
using namespace std;
void clearScreen()
2021-05-30 07:47:27 +02:00
{
/*#ifdef _WIN32
system("cls");
#endif
#ifdef LINUX
system("clear");
#endif*/
cout << string(50, '\n');
2021-05-30 07:47:27 +02:00
}