is there a command to clear the screen in a dos prompt running program? thanks a ton
This is a discussion on FAQ: clearing screen within the FAQ Board forums, part of the General Programming Boards category; 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");