编译问题!请教高手!
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main补充问题:
一个程序用vc++6.0先compile没错误然后buid出现如下错误--------------------Configuration: test - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
test.exe - 2 error(s), 0 warning(s)
我按照网上说的把link中的console改成windows后又出现这种错误
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.