-
Error when building
Im pretty new to C++ and am not sure how to fix this error. Every time i try to Build my programs i get the error messages.
--------------------Configuration: 1 - Win32 Debug--------------------
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Can someone tell me what im missing or what ive done wrong?
-
You have created the wrong project type.
You should have created a Win32 Console Project.
-
Alright. What is the big difference?
-
A Win32 Console project is used for terminal programming.
A Win32 project is used for Graphical User Interface programming (well, most of the time).
-