Help with C++

Status
Not open for further replies.

tw0rld

Posts: 549   +6
I am currently teaching myself C++ Programming. I am currently at the stage of learning Exception handling. The problem is whenever I compile the code then run the executable everything works fine except for the part about handling exception.
For instance the program is coded to get user input and/or response. What is suppose to happen is that if a user enters an invalid entry an error message should appear, but instead of this happening the program crashes. I am thinking that it is a problem with the coding. I have attached two samples.
 

Attachments

  • 07-03.txt
    661 bytes · Views: 9
Status
Not open for further replies.
Back