Link to home
Start Free TrialLog in
Avatar of IbanezRG
IbanezRG

asked on

Only error left Ideas?

Airline code.cpp(481): fatal error C1075: end of file found before the left brace '{' at 'Airline code.cpp(11)' was matched

This is the only error I got left, anyone has any ideas on how to solve it?
Avatar of jimyX
jimyX

You have unterminated paired character (bracket, curly brace, or other) at line # 481. If you attach the code that would be easy to tell.
To solve it yourself just track the "{" and "}" and make sure you have closed every single one.

http://msdn.microsoft.com/en-us/library/4ybz0xh2%28v=vs.71%29.aspx
ASKER CERTIFIED SOLUTION
Avatar of phoffric
phoffric

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The other possibilities are

1)  Mismatched quotes in strings - quite easy to spot these if you modify the text editor to show all strings in say magenta.
2) Unterminated comments (/* */ type or trailing \ in a comment).  These are quite easy to spot if you change the background of your comments to something like yellow.  It shows up all the comments straight away.
3) Mismatched () or {}.  If you put your cursor on a { or ( and press ctrl ],  The cursor will jump to the matching ) or }.  Press ctrl ] to jump back.
Avatar of IbanezRG

ASKER

I started a new project and it worked, thanks a lot.
I have lots to learn.