Advertisement

Having C++ trouble

Started by July 09, 2000 10:31 AM
2 comments, last by Ferinorius 24 years, 5 months ago
ok, I was programming happily along, then I compiled because i was wanting to see if everything was working properly. THen I got the following error:


error C2143: syntax error : missing '';'' before ''return''

 
I looked all through the program and got nothing! I can''t find anywhere that this would be there! WHat is wrong with me or my program!?
Is there a ; at the end of the line above return?

Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
Advertisement
I figured it out, it was a } after another } that for some reson I had mistyped. It was TYPO! I decided to take a break for a while and visit game dev. If I am missing things like that, then I need a break!
Yeah, most syntax errors ARE typos

lntakitopi@aol.com - http://www.geocities.com/guanajam

This topic is closed to new replies.

Advertisement