Answers for "clear the console in c++"

C#
10

c++ clear console

#include <Windows.h>

int main() {
	//print stuff
    
	system("cls"); // clear console
}
Posted by: Guest on March-02-2020
2

how to clear console c++

#ifdef __cplusplus__
  #include <cstdlib>
#else
  #include <stdlib.h>
#endif

if (system("CLS")) system("clear");
Posted by: Guest on December-08-2020
1

console clear c+

i swear if you write system("cls"); one more time you're ugly
Posted by: Guest on August-02-2021

C# Answers by Framework

Browse Popular Code Answers by Language