|
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
StizowneD
![]() ![]() ![]() Join Date: Apr 2001
Location: Edmonton, Alberta
Posts: 298
|
help plz....
sup, maybe someone can help me..... I'm kinda new to programing, and am currently learning C/C++ k here's my problem.... everytime i try building anything....anything at all.... even if its just a simple little hello world dos window like #include <iostream.h> int main() { cout<<"Hello WORLD!!!!"; return 0; } i keep getting an error in the debug window saying the following.... Linking... LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/test.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. test.exe - 2 error(s), 0 warning(s) everything was working fine yesterday, but it just started doing that today here for some reason......like i sayed i'm a newb when it comes to C/C++ i kinda get what the error means but i have no idea why it does it lol
__________________
Gaming Rig OS= Vista Ultimate 64Bit CPU = Pent D extreme 3.4GHz w/ HT Mobo = Dell mobo based on intel 955X chipset Ram = 2Gigs 667MHz DDR2 SDRam HDD = 320Gig Raid0 Array (2x 160Gig SATA2 (16meg cache each) 10000RPM GFX = ATI Radeon X850 XT Platinum (512Meg DDR3 model) 21" Dell Widescreen LCD Audio = SBlaster X-Fi Fatal1ty on 5.1 Digi suroundsound Faster than a Burning Bud, More Powerfull than a hit from a bong, Able to eat huge amounts of snacks, Look through the smoke.. Its a skunk...... Its a grassfire...... Its.... Its.... GanjaMAN!!! Man of WEED (TM) |
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
#2 |
|
Registered User
Join Date: Jun 2002
Location: Montreal
Posts: 6
|
you probably have created a Window application instead of a Console application when you started your project
__________________
Pat! |
|
|
|
|
|
#3 |
|
StizowneD
![]() ![]() ![]() Join Date: Apr 2001
Location: Edmonton, Alberta
Posts: 298
|
nope console app
__________________
Gaming Rig OS= Vista Ultimate 64Bit CPU = Pent D extreme 3.4GHz w/ HT Mobo = Dell mobo based on intel 955X chipset Ram = 2Gigs 667MHz DDR2 SDRam HDD = 320Gig Raid0 Array (2x 160Gig SATA2 (16meg cache each) 10000RPM GFX = ATI Radeon X850 XT Platinum (512Meg DDR3 model) 21" Dell Widescreen LCD Audio = SBlaster X-Fi Fatal1ty on 5.1 Digi suroundsound Faster than a Burning Bud, More Powerfull than a hit from a bong, Able to eat huge amounts of snacks, Look through the smoke.. Its a skunk...... Its a grassfire...... Its.... Its.... GanjaMAN!!! Man of WEED (TM) |
|
|
|
|
|
#4 |
|
Registered User
![]() Join Date: Apr 2002
Location: Iowa
Posts: 72
|
SanDRock: looks like you left iostream.h out of your #include? you've got: #include int main() { cout<<"Hello WORLD!!!!"; return 0; } should be: #include "iostream.h" int main() { cout << "hello world"; return(0); } other than the half done preprocessor command everything looks fine to me. you may have to replace the "'s with a < > or drop them altogether depending on your compiler. fox- Last edited by fox-; February 18th, 2003 at 08:16.. |
|
|
|
|
|
#5 |
|
Translator
![]() ![]() ![]() ![]() Join Date: Apr 2002
Location: Norway
Posts: 669
|
this thread covers all my knowledge for c++...
__________________
This is my new improved sig. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|