Clear the Screen using WinApi functions
By
vegaseat on
Mar 26th, 2005 9:30 pm Many of the code samples on the internet are written in Turbo C. The clrscr() function litters these samples, and even to this day people want to wipe your screen. You can use system("CLS"), but that uses a DOS command. DOS commands are with us only at the whim of William the Mighty. Here is the Windows version of clearing the console screen with WinApi functions, in the hope that these functions will stay around a little longer.
Related Article: Struct in Functions
is a solved C discussion thread by C++ programer that has 1 reply and was last updated 7 years ago.
© 2013 DaniWeb® LLC
Page rendered in 0.0635 seconds
using 2.64MB