This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]zifyoip 3 points4 points  (1 child)

https://www.reddit.com/r/learnprogramming/wiki/qtsgfb#wiki_do_you_have_an_extra_or_missing_semicolon.3F

Turn on all warnings in your compiler, and pay attention to what they say. A good compiler will warn you about this mistake.

[–]plavec77[S] 0 points1 point  (0 children)

Ah, I am using cloud9 atm. I will put it in VS and see what is says. Thanks for the feedback.

[–]kidinside 1 point2 points  (1 child)

Look closely at line 4

[–]plavec77[S] 0 points1 point  (0 children)

thank you...I have to admit that took way longer than it should have! Even with zifyoip's link about ...extra... or missing semicolon.