Clearing Console Window

Is there any way to clear the console window whilst still staying in the program and having it continue to run?
Assuming you are in a Win32 console, use:
system("cls");

This function can be found in stdlib.h. This isn't really portable.
Last edited on
Topic archived. No new replies allowed.