Skip to main content
gamedev.net
🔒 Locked

parse error

Started by RedZionist 3 replies 400+ views
Original Post
RedZionist
RedZionist
i'm using c++ and it says i have a parse error on line 103, when my program only goes to 102. It's saying "parse error at end of input". Whats a parse error? and any advice on what i should do? (using dev-c++)
Pixel Tamer
Pixel Tamer
You most likely neglected to close something properly, such as a string, comment, parenthesis, bracket, or whatever.

Depending on the preprocessor (I've never used dev-c++), tracking it down can actually be tricky sometimes, but since your module is only 102 lines (as opposed to 10,002), you only have 102 lines to visually inspect. :P (Well, unless the syntax error is in one of your header files. If that, then all bets are off.)

Edit: Roboguy beat me. :P
RedZionist
RedZionist
I figured it out thanks for helping.

p.s. yea i forgot to close the bracket for one of the functions.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.