Original Post
Hi
I''ve just bought Sams Teach Yourself C++ in 21 Days, the version that comes with Visual C++ 6 Introductory Edition. I''m stuck on the first Hello World exercise, when I try and build my program I get this error:
--------------------Configuration: Example 1 - Win32 Debug--------------------
Compiling...
ex1.cpp
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/Example 1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Example 1.exe - 2 error(s), 0 warning(s)
------------------------------------------------------------------------------------------------
Is this because Visual C++ can''t find the libraries to link my source code to? Can somebody help me? I followed all of the instructions exactly.