Can anybody plz tell me their equivalents ?
system("cls"); for clearing the screen. This is NOT portable so it's not a good thing to use it. Why do you need it?
Gotoxy(); is a different story. You first need a handle to your console window, use
GetConsoleWindow() for that. Then when you have the handle use
SetConsoleCursorPosition() to set the cursor.
Last edited by Nick Evan; Apr 27th, 2011 at 7:01 am.
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Offline 4,132 posts
since Oct 2006