prog.c: In function 'main':
prog.c:5:9: warning: missing terminating " character
printf("화면 좌측 아래의 좌표를 입력하시오.(x좌표 y좌표 순으로 입력하시오)\n“);
^
prog.c:5:2: error: missing terminating " character
printf("화면 좌측 아래의 좌표를 입력하시오.(x좌표 y좌표 순으로 입력하시오)\n“);
^
prog.c:6:22: error: expected ')' before ';' token
scanf("%d %d",&a,&b);
^
prog.c:7:9: warning: missing terminating " character
printf("화면 우측 위의 좌표를 입력하시오.(x좌표 y좌표 순으로 입력하시오)\n“);
^
prog.c:7:2: error: missing terminating " character
printf("화면 우측 위의 좌표를 입력하시오.(x좌표 y좌표 순으로 입력하시오)\n“);
^
prog.c:6:2: warning: passing argument 1 of 'printf' makes pointer from integer without a cast
scanf("%d %d",&a,&b);
^
In file included from prog.c:1:0:
/usr/include/stdio.h:362:12: note: expected 'const char * __restrict__' but argument is of type 'int'
extern int printf (const char *__restrict __format, ...);
^
prog.c:10:1: error: expected declaration or statement at end of input
}
^
prog.c:4:12: warning: unused variable 'd' [-Wunused-variable]
int a,b,c,d;
^
prog.c:4:10: warning: unused variable 'c' [-Wunused-variable]
int a,b,c,d;
^
prog.c:10:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^