void gotoxy(int x, int y) {
COORD c;
c.X = x - 1;
c.Y = y - 1;
SetConsoleCursorPosition
(GetStdHandle(STD_OUTPUT_HANDLE), c);
}
COORD c;
c.X = x - 1;
c.Y = y - 1;
SetConsoleCursorPosition
(GetStdHandle(STD_OUTPUT_HANDLE), c);
}
請先 登入 以發表留言。