i copied the hello world code from the tutorial and pasted in c++. when i go to "compile hello.cpp" it works just fine, but when i click "build hello.exe i get some kind of linking error. what am i doing wrong. thank you
Printable View
i copied the hello world code from the tutorial and pasted in c++. when i go to "compile hello.cpp" it works just fine, but when i click "build hello.exe i get some kind of linking error. what am i doing wrong. thank you
post the error perhaps?
here is the error i get:
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/hello.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
hello.exe - 2 error(s), 0 warning(s)
Create a Win32 Console Application, not a Win32 Application.
THX xsquared!
im reading the tutorials to get a head start next year. thx again