0

I want to know whether iostream contain any function to clear the screen in C++ programming?

Pete Becker
  • 74,985
  • 8
  • 76
  • 165
komal
  • 17
  • 2
  • 6
    No 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

0 Answers0