+ 1

What is the use of clrscrn in c++

c++

4th Jan 2017, 12:53 PM
DENNIS KIPKEMBOI
DENNIS KIPKEMBOI - avatar
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.
4th Jan 2017, 1:24 PM
Frost
Frost - avatar
+ 2
To clear Screen with c++ use command from command prompt
4th Jan 2017, 4:29 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar