Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help switching to c++

Status
Not open for further replies.

aardvark

Programmer
Apr 25, 2000
6
US
I am taking the next step, that is switching over to C++.  When I compile my programs an error is produced regarding the keyword "end1".  Is this perhaps a keyword that is not understood by my Borland C++ compiler?
 
Dear aardvark,<br><br>It would simplify the forum process if you could post the pertinent code in question.<br><br>I am guessing about the error occuring on a line similar to this:<br><br>cout << "hello world" << end1;<br><br>You almost have it correct. A common problem with fonts in editors is that you can't tell the difference between the Letter 'L' (smallcase) and the number '1' (one).<br><br>In your case you need the letter 'L' in small case 'l'.<br><br>'endl' = end line character<br><br>Hope this helps<br>-pete






 
Thanks Palbano.&nbsp;&nbsp;You guessed correctly.&nbsp;&nbsp;My book neglected to explain the end of line keyword, and I did indeed interpret the letter &quot;l&quot; as the number &quot;1&quot;.&nbsp;&nbsp;Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top