How can I set the cursor at the desired location on the console in C or C++?
I remember a function called gotoxy(x,y), but I think its deprecated. Is th
gotoxy(x,y)
In case you are talking about ncurses library, the function you are after is move (row, column).
move (row, column)