when I compile this code in MS VC++ 6, I get the following errors:
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/hwwin.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
hwwin.exe - 2 error(s), 0 warning(s)
what's wrong and what do I have to do to correct this? thanks.
Code:#include <windows.h> int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { return 0; }