Search
 
SCRIPT & CODE EXAMPLE
 

CPP

clear screen in c++

enter code here
void clrscr()
{
  system("cls");
}
Comment

how to clear screen in C++ console

using the "system" function you enter a cmd command which is in this case "cls"

in code it will look something like this

	system("cls"); 

and it will clear your screen
Comment

PREVIOUS NEXT
Code Example
Cpp :: convert string to number c++ 
Cpp :: math in section title latex 
Cpp :: how to make crypto 
Cpp :: how to get double y dividing 2 integers in c++ 
Cpp :: format c++ discord 
Cpp :: declare dynamic array c++ 
Cpp :: spicoli 
Cpp :: c++ main function 
Cpp :: read struct from file c++ 
Cpp :: structure and function c++ 
Cpp :: c++ initialize array with all zeros 
Cpp :: sort function descending c++ 
Cpp :: check if an element is in a map c++ 
Cpp :: queue implementation using linked list in cpp 
Cpp :: remove last character from string c++ 
Cpp :: vector to string c++ 
Cpp :: delete map elements while iterating cpp 
Cpp :: cpp list 
Cpp :: scan line in c++ 
Cpp :: bubble sort in c+ 
Cpp :: c++ char it is a number 
Cpp :: how to change a value from an array c++ 
Cpp :: cpp ifstream 
Cpp :: C++ press enter to continue function 
Cpp :: how to get the first element of a map in c++ 
Cpp :: how to send email in c++ program 
Cpp :: functors in c++ 
Cpp :: console colors in C++ 
Cpp :: print a string with printf in c++ 
Cpp :: palindrome program in c++ 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =