+ 1
What is the use of clrscrn in c++
c++
2 Answers
+ 16
You use it? :/
It basically is used to clear the output on the screen after you run it and want to run it again.
eg:- You run a program that gives you output 5.
Again you run the same program but due to previous output and new output you get 55 i.e if the screen is not cleared.
I haven't seen clrscr in C++, it is used in C though.
+ 2
To clear Screen with c++ use command from command prompt