• Christos
C++, What's wrong with this code and it won't run?
Computer Science
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • jamiebookeater
I got my questions answered at in under 10 minutes. Go to now for free help!
  • e.mccormick
Check your ; at the end of lines. One is missing.
  • 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.

Looking for something else?

Not the answer you are looking for? Search for more explanations.