Article ID: 99261 - View products that this article applies to.
This article was previously published under Q99261
Some non-Microsoft versions of C++ provide a clrscr function for clearing the screen in a DOS application. However, there is no Win32 Application Programming Interface (API) or C-Runtime function that will perform this function.
To accomplish this task for a Win32 console application, use one of the following methods:
Use a system function
Write a function that will programmatically clear the screenThe following function clears the screen:
Article ID: 99261 - Last Review: November 21, 2006 - Revision: 3.3
Contact us for more help