I want to know whether iostream contain any function to clear the screen in C++ programming?
Asked
Active
Viewed 65 times
0
-
6No it doesn't. C++ I/O is *abstract* and doesn't contain any concept of a screen. – john Aug 01 '18 at 17:24
-
Are you running the program in a terminal? What OS are you using? If Unix, you may be able to use the magic that is [ANSI codes](https://stackoverflow.com/q/4062045/2602718). – scohe001 Aug 01 '18 at 17:27