is there a command to clear the screen in a dos prompt running program? thanks a ton
is there a command to clear the screen in a dos prompt running program? thanks a ton
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
Ilia Yordanov,
http://www.cpp-home.com ; C++ Resources
There's also the really slow unportable way:
lolCode:system("cls");