Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#17126 - 09/07/03 08:36 AM Need Help with This program  
Joined: Jan 2003
Posts: 217
Ntd Offline
Member
Ntd  Offline
Member

Joined: Jan 2003
Posts: 217
Melbourne, Victoria, Australia
Hey all i to complie a program that i copied out of a book, however when i do i get this error :
--------Configuration: skeleton - Win32 Debug-------
Compiling...
skeleton.cpp
C:\Documents and settings\NTD\My Documents\skeleton.cpp(7) : error c2146: syntax error : missing ';' before identifer 'CALLBACK'
C:\Documents and settings\NTD\My Documents\skeleton.cpp(7) :error c2501: 'LRESULT' : missing storage-class or type specifiers
C;\Documents and settings\NTD\My Documents\Skeleton.cpp(7) : fatal error c1004: unexpected end of file found
Error executing cl.exe

Line 7 looks like this: LRESULT CALLBACK WndProc(HWND hWindow, UINT msg, WPARAM wParam, LPARAM lParam);

Since i copied the code from a book i then decided to use the CD-ROM and change the cpp files i did and when i complied it i got these errors:-

Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/skeleton.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe

I am using windows.h for the header file. And the books cd comes with Borland C++ but i already have Microsoft's one would that make a difference?

-------By the way----------
Whats up with these disturbing pics

[bj] [bukkake] [ky] [op] ?????

Sponsored Links
#17127 - 09/07/03 09:55 AM Re: Need Help with This program  
Joined: Sep 2003
Posts: 36
Coleman Offline
Junior Member
Coleman  Offline
Junior Member

Joined: Sep 2003
Posts: 36
Castro Valley
Dont know answer to ur problem, but i just wanted to second on ur other question..."Whats up with these disturbing pics

?????"


Applesauce is evil and should be baned from the earth!!!!!!
#17128 - 09/12/03 03:41 AM Re: Need Help with This program  
Joined: Jan 2003
Posts: 217
Ntd Offline
Member
Ntd  Offline
Member

Joined: Jan 2003
Posts: 217
Melbourne, Victoria, Australia
Ok this is weird! I used the same code and everything! But this time I started the project again and now it works?

#17129 - 09/12/03 11:51 PM Re: Need Help with This program  
Joined: Mar 2002
Posts: 599
BackSlash Offline
UGN's Resident Homo
BackSlash  Offline
UGN's Resident Homo

Joined: Mar 2002
Posts: 599
TN
those pics turn me on, i love jerking it off to smiley sex


"It's better to burn out, than to fade away."
#17130 - 09/13/03 10:38 AM Re: Need Help with This program  
Joined: Sep 2003
Posts: 36
Coleman Offline
Junior Member
Coleman  Offline
Junior Member

Joined: Sep 2003
Posts: 36
Castro Valley
dude thats the most sickest and disgusiting thing i have ever heard that made ma laff so hard backslash.
@_@ weird and creepy...ALL AT ONCE!


Applesauce is evil and should be baned from the earth!!!!!!
Sponsored Links

Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics47,469
Posts82,639
Average Daily Posts8
Members2,159
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 40,633
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Ghost Likes: 1
Gremelin Likes: 4
Ice Likes: 1
unreal Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)