how to clear display??

when ever i run any of my dos programes that have a lot of output the screen has to scroll down is there a command in c++ that clears the current output off the screen so i can start off clean slate to make my programes more neat and tidey??
thanx
You can take a look at this thread on how to clear the screen in c++ http://www.cplusplus.com/forum/beginner/1988/page3.html

If you are just in the dos console and you want to clean the screen between programs then you can just type cls and it will clear the screen.
Topic archived. No new replies allowed.