C++复制#include<windows.h> void Goto(int X,int Y){ COORD C; C.X=X; C.Y=Y; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),C); }