clean console cpp 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");
#include <Windows.h>
int main() {
//print stuff
system("cls"); // clear console
}
system ("CLS");