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?
This is the only error I got left, anyone has any ideas on how to solve it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
ASKER
I started a new project and it worked, thanks a lot.
I have lots to learn.
I have lots to learn.
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