Search
 
SCRIPT & CODE EXAMPLE
 

CPP

c++ clear console

#include <Windows.h>

int main() {
	//print stuff
    
	system("cls"); // clear console
}
Comment

clear console c++

system ("CLS");
Comment

how to clear console c++

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

if (system("CLS")) system("clear");
Comment

clear console c++

#include<iostream>
#include<Windows.h>
using namespace std;

int main()
{
  //code.
  system("cls");  //clear console.
  return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: how to run a msi file raspbrain 
Cpp :: vector to string c++ 
Cpp :: how to open and read text files in c++ 
Cpp :: c++ vector sort 
Cpp :: character array to string c++ stl 
Cpp :: srand() c++ 
Cpp :: cpp case 
Cpp :: cpp list 
Cpp :: pbds in c++ 
Cpp :: change to lowercase character c++ 
Cpp :: C++ Find the sum of first n Natural Numbers 
Cpp :: adding element in vector c++ 
Cpp :: how to make a loop in c++ 
Cpp :: height of bst cpp 
Cpp :: nth node from end of linked list 
Cpp :: c++ multidimensional vector 
Cpp :: not in c++ 
Cpp :: What is the story of c++ 
Cpp :: c++ program to reverse an array 
Cpp :: c++ load file as vector 
Cpp :: file c++ 
Cpp :: tolower funciton in cpp 
Cpp :: cpp vector2 
Cpp :: powershell get uptime remote computer 
Cpp :: cpp string slice 
Cpp :: push local branch to another remote branch 
Cpp :: c++ basic snippet 
Cpp :: c++ vector of class objects 
Cpp :: power function c++ 
Cpp :: best websites for programming 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =