anonymous
  • anonymous
http://ideone.com/vCU1c when I run this program in my computer, it shows me a scary message saying that "This program has requested the Runtime to terminate it in an unusual way. Please contact the programmer" or something. What is happening?
Computer Science
chestercat
  • chestercat
See more answers at brainly.com
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.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

farmdawgnation
  • farmdawgnation
So, I suspect this has to do with the line that reads "throw Ball()". Although amusing, it probably isn't syntactically valid to throw something that doesn't extend "exception"... Either that or C++ may just not handle exceptions thrown in main, which would be tacky, but possible.
anonymous
  • anonymous
http://www.cplusplus.com/doc/tutorial/exceptions/
jagatuba
  • jagatuba
@farmdawgnation: Agreed. I see nothing to throw.

Looking for something else?

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

More answers

Looking for something else?

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