does any body know of a windows API function that gets the cursor console position, not set it?
to set it i use:
is there a way to GET where it currently is?Code:void gotoxy(int x, int y) { coord.X = (short)x; coord.Y = (short)y; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord); }
and please don't tell me to read the faq.