How in c ++ visual studio to return the current value of the cursor coordinates in the console? It is advisable to give an example

    1 answer 1

    As such, the "console" with the cursor in the standard C ++ is not. There is a standard output stream - the same as in the file: what is the cursor in the file? ...

    But you can use the Windows API functions for the console — create it, work with it — there you can use the GetConsoleCursorInfo function.