FAQ: clearing screen [Archive] - C Board

PDA

View Full Version : FAQ: clearing screen


Unregistered
10-14-2001, 03:07 PM
is there a command to clear the screen in a dos prompt running program? thanks a ton

loobian
10-14-2001, 03:35 PM
In Borland, it is clrscr()
Visual C++ has no built in function to clear the screen, but you can use this to do that:
http://cs.colgate.edu/APCSWeb/VC++ClearScr.htm

TerranFury
10-14-2001, 08:17 PM
There's also the really slow unportable way:



system("cls");


lol