显示一个helloword的程序都跑不了,不知道是不是编译器挂了,求指点
程序代码:
#include<stdio.h> int mian(void) { printf("hello word"); return 0; }
F:\dev-c++\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib\libmingw32.a(lib64_libmingw32_a-crt0_c.o) In function `main':
18 h:\crossdev\src\mingw-w64-v3-svn\mingw-w64-crt\crt\crt0_c.c undefined reference to `WinMain'
E:\dev\822\collect2.exe [Error] ld returned 1 exit status
完全不懂了,请问是什么鬼