五子棋游戏程序执行 link.exe 时出错.
uxi04 2016-01-31 05:57:37 --------------------Configuration: five - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/five.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
five.exe - 1 error(s), 0 warning(s)
主程序是这样的。
int WINAPI WinMain
(
HINSTANCE hInstance, //当前实例的句柄
HINSTANCE hPrevInstance, //上一个实例的句柄
LPSTR lpCmdLine, //指向命令行字符串的指针
int nCmdShow //window显示状态
)