main()
(高顯忠, sjgau4311@gmail.com, 2011-07-19 12:02)
1樓
#if 0
--------------------Configuration: VC0820 - Win32 Debug--------------------
Compiling...
VC0820.CPP
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/VC0820.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
VC0820.exe - 2 error(s), 0 warning(s)
// ----------------------------------------------------------------------------
--------------------Configuration: VC0820 - Win32 Debug--------------------
Compiling...
VC0820.CPP
D:\VC0820\VC0820.CPP(19) : warning C4508: 'main' : function should return a value;
'void' return type assumed
Linking...
VC0820.exe - 0 error(s), 1 warning(s)
// ----------------------------------------------------------------------------
--------------------Configuration: VC0820 - Win32 Debug--------------------
Compiling...
VC0820.CPP
Linking...
VC0820.exe - 0 error(s), 0 warning(s)
#endif
// ----------------------------------------------------------------------------
int main()
{
//
return 0;
}