|
제가 해봤는데요 에러가 자꾸 1개가 나요
#include <stdio.h>
int main(void)
{
printf("This is a short C program.");
return o;
}
이렇게 썻는데
--------------------Configuration: ex1 - Win32 Debug--------------------
Compiling...
ex1.c
C:\Program Files\Microsoft Visual Studio\MyProjects\ex1\ex1.c(5) : error C2065: 'o' : undeclared identifier
Error executing cl.exe.
ex1.exe - 1 error(s), 0 warning(s)
이렇게 나오네요;;;
모가 잘못됀거죠??
알파벳o가 잘못됀건지 알고 숫자로 바꿔봤는데
이렇게
#include <stdio.h>
int main(void)
{
printf("This is a short C program.");
return 0;
}
에러가 2개 나여 ;;;
--------------------Configuration: ex1 - Win32 Debug--------------------
Compiling...
ex1.c
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/ex1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
ex1.exe - 2 error(s), 0 warning(s)
이렇게 나오네요 머가 잘못 됀건지점....갈켜 주세요
이거 돼야 다음꺼 볼수 있을거 같은데
|