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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is a parse error in c++? 1

Status
Not open for further replies.

amn95

Technical User
Sep 16, 2002
3
US
What is a parse error in c++?
 
Usually it means that you have not matched curly braces, brackets, or parentheses...or you are missing a semicolon at the end of a statement.
Sera
I often believe that...
My computer is possessed!
 
Specifically the parser is the part of the compiler that reads through your code and checks that all the above things (braces, parentheses, semicolons, etc.) are syntactically correct, match up, and otherwise make sense.

A parse error means that the parser found something (or failed to find something) that made it mad or that it couldn't understand, and it wants you to rewrite it.
 
ChipperMDW
Good explanation...don't know why I didn't think to add that! But I am slightly worried about your relationship to the compiler..."made it mad" (anthropomorphizing) "and it wants you to rewrite it"....hahaha...
good explanation....for that you get a star...
Sera
I often believe that...
My computer is possessed!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top