How to clear screen in MS VC?

One option is to use [sourcecode language=’cpp’]system( “cls” );[/sourcecode] Another option is to to use this function. I copied this from MSDN.  😉 [sourcecode language=’cpp’]void cls( HANDLE hConsole ) { /* here’s where we’ll home the cursor */    COORD coordScreen = { 0, 0 };    BOOL bSuccess = FALSE;    DWORD cCharsWritten = 0; /* […]
Continue reading…