LINKク中...
LIBCD.lib(crt0.obj) : error LNK2001: 外部symbol"_main" 未解決
Debug/CSDSMN.exe : fatal error LNK1120: 外部参照 1 未解決。
thanks
LIBCD.lib(crt0.obj) : error LNK2001: 外部symbol"_main" 未解決
Debug/CSDSMN.exe : fatal error LNK1120: 外部参照 1 未解決。
thanks
你建的是一个win32 Apllication,不是你想要的win32 console Apllication.
win32 Apllication的入口函数是_WinMain;
win32 console Apllication的入口函数是main。
Alt+F7->C/C++:Category中选择preprocessor,在preprocessor definitions:中把WIN32,_DEBUG,_WINDOWS,_MBCS换成WIN32,_DEBUG,_CONSOLE,_MBCS。_WINDOWS-->_CONSOLE
我的preprocessor definitions也是WIN32,_DEBUG,_CONSOLE,_MBCS
急!!!!!!!!!!!!!!!!!!!