Simple way to clear console?

I was just wondering if there was a simple quick and easy command to clear the console screen?
See Grey Wolf's post here:
http://www.cplusplus.com/forum/beginner/1988/page3.html

However, you really shouldn't be doing that for normal stream applications. The only portable way to achieve the same is just to output a zillion newlines:

cout << string( 100, '\n' );

Hope this helps.
Last edited on
system("cls");

and people will be like BLA BLA BLA about system commands
ignore them if your just doing a quick thinko use that!!!!
Topic archived. No new replies allowed.