请问这段代码有没有什么问题,谢谢# include <windows.h> int winapi winmain(hinstance hInstance,hinstance hPrevInstance,
lpstr lpCmdline,int nCmdshow){messagebox (null,"My first Visual C++ programm","呵呵",0);
return 0;}
lpstr lpCmdline,int nCmdshow){messagebox (null,"My first Visual C++ programm","呵呵",0);
return 0;}
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Ex_hellomsg.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.这是什么问题阿?谢谢
Debug/Ex_hellomsg.exe
-------------------------
是不是你建的工程类型不对。是win32吗?