Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

console and cursor questions

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
What's the name of the functions to clear the console and move the cursor in a Microsoft Visual C++ Win32 console application, and what #include files are needed for them to work? In Borland, the commands are clrscr(); for clearing the screen and gotoxy(int,int); for moving the cursor. Thanks for your help in advance!

TBO_Stephen
 
To erase the screen you can use:

#include <stdlib.h>
....
..
system(&quot;cls&quot;);
...

and for positioning the cursor,check: thread207-280530
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top