Q:
Here is a real easy question:
I'm just trying to clear the screen in a simple console window printf
program. "\f" doesn't work. What am I doing wrong? Do I need a special
#include <something?>... Thank you.
A:
You do not do anything wrong. This is only the fact that you can not clear
the console screen that way.
hConsole = GetConsoleHandle();
cls(hConsole);
Should work under Win32.
Regards,
Peter
[ back to toc ]