原型:extern void gotoxy(int x, int y);用法:#include 功能:将光标移动到指定位置说明:gotoxy(x,y)将光标移动到指定行y和列x。设置光标到文本屏幕的指定位置,其中参数x,y为文本屏幕的坐标。gotoxy(0,0)将光标移动到屏幕左上角。程序举例1: #include int main(){int i;char *scrbuf=(char *)0x280;for(i=0;ivoid Gotoxy(int x, int y);void main(){Gotoxy(5,5);}void Gotoxy(int x, int y){
int xx=0x0b;
HANDLE hOutput;
COORD loc;
loc... |