how to clear the screen in console ?

Hi,

Can someone tell me how to clear the console screen ? Which command could I use ? And also, which command under which header file let the program wait until a user's response ? For example, display a welcome screen and hanging there until the user press Enter....

thanks in advance
try system("Pause"); and system("cls"); (from iostream).
They are OS dependent but they work (on Windows)
For pausing the screen in a better way read http://www.cplusplus.com/forum/beginner/1988/
Topic archived. No new replies allowed.