Ask your own question, for FREE!
Computer Science 21 Online
OpenStudy (christos):

C++, What's wrong with this code and it won't run? http://pastebin.com/GFEsji82

OpenStudy (e.mccormick):

Check your ; at the end of lines. One is missing.

OpenStudy (e.mccormick):

What IDE or compiler are you using? It should be able to tell you about these problems. Usually something like: there is a syntax error at line whatever. The line number is the key because errors generally are at that point or before it. Usually they are not after it because a program runs from top to bottom. When they are below, it is usually a function that is defined later in the file being called by something above it. Sometimes your error will say it is in some library you used. Generally this means you did something that is improperly using the library and it is not really an error in the library.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!