반응형 gotoxy2 gotoxy visual studio 2008에서 사용하기 acidpop.tistory.com/8 구글신님 감사합니다 ㅠㅠㅠ #include "windows.h" void gotoxy(int x, int y) { COORD Cur; Cur.X=x; Cur.Y=y; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),Cur); } 2010. 11. 16. gcc , clrscr gotoxy #include #include void clrscr(void) { int i; for (i = 0; i < 100; i++) // A bunch of new lines for now. It's blank, hey! putchar('\n');} int gotoxy(int x, int y) { char essq[100]; // String variable to hold the escape sequence char xstr[100]; // Strings to hold the x and y coordinates char ystr[100]; // Escape sequences must be built with characters /* ** Convert the screen coordinates to string.. 2009. 7. 2. 이전 1 다음 반응형