Hi. I'm writing a console application in Visual C++ and I need to change my cursor position, which I don't think is supported by any standard library.
Can someone please help me with the definition of a good gotoxy() function definition?
It's not a standard function so you need to get some library.
the curses library is often used for such things
You can move the cursor back using \r and \b
\r goes to the beginning of the line and \b goes back of one place
You can't go to previous lines with this