how can get mouse coordinates on the console?
Notice : only the console, not all the screen
HANDLE hOut;
hOut = GetStdHandle(STD_OUTPUT_HANDLE);
COORD xy
CONSOLE_SCREEN_BUFFER_INFO cbsi;
if (GetConsoleScreenBufferInfo(hOut, &cbsi))
xy = cbsi.dwCursorPosition;
I used this