123
HANDLE hStdOut = GetStdHandle ( STD_OUTPUT_HANDLE ); COORD pos = { X_POS, Y_POS }; // replace X_POS and Y_POS with actual coordinates SetConsoleCursorPosition ( hStdOut, pos );