
| Last Modification: April 22, 2002 |
How can I clear the screen in a Console App? I can't find clrscr()!
VC++
has no equivalent to clrscr(). However, you can get around it in two ways:
system("cls");FillConsoleOutputCharacter() and FillConsoleOutputAttribute() from
the Console API defined in wincon.h. See the reference for a sample.References and Samples: