General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 11th, 2003, 11:55 AM
Nils Nils is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 3 Nils User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Programming newbie

I just started programming and I'm using Sams Teach Yourself C++ with Borland C++Builder 6 and I'm having an extremely frustrating problem. The command "end1" seems to be a fairly common and easy to use command but my compiler keeps telling me that it is an "Unidentified symbol." Is there a problem with my compiler or is my book telling me how to use it wrong? I can't even get past lesson two!

Reply With Quote
  #2  
Old February 11th, 2003, 01:36 PM
IgR IgR is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 2 IgR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool

the command "end1" does not exist in the C/C++ languages.
Most likely it's an error in the book that wasnt caught during the proofreading. Try using "end;" instead.

Good luck on your other lessons.

Reply With Quote
  #3  
Old February 11th, 2003, 07:25 PM
Nils Nils is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 3 Nils User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Makes no sense

So when I take out the "1" the compiler decides to make an exe file but the file doesn't do anything. It's only supposed to show me some numbers but it doesn't even do that. Thinking it was Borland, I installed Visual C++ Standard and now I get the "error C2065: 'end1' : undeclared identifier" again. With or without the 1. And the book I'm reading uses "end1" throughout all of the chapters so I don't understand how it could be a typo.

Reply With Quote
  #4  
Old February 11th, 2003, 07:35 PM
IgR IgR is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 2 IgR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Oh, dont mind my last message, I dont know what i was thinking.
are you sure it's end1 and not endl (with a lowercase L at the end) ?
If that doesnt help, post the code here.

Reply With Quote
  #5  
Old February 11th, 2003, 07:56 PM
Nils Nils is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 3 Nils User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking Hurray

Thank you. It finally works. Stupid font makes 'l' look way too much like '1'. Thanks again!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Programming newbie


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway