Teen Programmers Unite  
 

 

Return to forum top

C++ help

Posted by jay_dee [send private reply] at June 01, 2002, 04:55:11 PM

alright...just so you know...i'm in RH Linux 5.0 and i am programing in c++.

after makeing some changes in my code, when i compile my program i get a error saying...


165: Parse error at end of input

being new to c++ i haven't got the error before and have no idea what is means. Its kind of funny because my code only is 148 lines long and it says the error in on line 165...soo if someone can tell me what generally causes that error so i know what to look for, that would be awesome...thanks,

jay

Posted by unknown_lamer [send private reply] at June 01, 2002, 05:36:39 PM

You probably left a } or a ) off somewhere because parse error at end of input is usually triggered when you forget to close a scope. Your code probably is 165 lines long (probably a bunch of blank lines at the end).

Posted by jay_dee [send private reply] at June 02, 2002, 02:59:14 PM

yeah thats what it was...i found it and fixed it..thanks,
jay

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.