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
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
Last edited by CobraCC; 03-29-2003 at 04:06 PM.
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.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
THX xsquared!
im reading the tutorials to get a head start next year. thx again