|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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!
|
|
#2
|
|||
|
|||
|
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. ![]() |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
Thank you. It finally works. Stupid font makes 'l' look way too much like '1'. Thanks again!
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Programming newbie |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|