1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include<stdio.h>
void gotoxy(int x, int y)
{
COORD Cur;
Cur.X = x;
Cur.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), Cur);
int main(void) {
gotoxy(2,2);
printf("*\n");
return 0;
}
| cs |
result
댓글
댓글 쓰기