also @ TechSpot: iOS 5.1.1 untethered jailbreak tool released, supports 4S, iPad 3

TechSpot

Help with C++

Discussion in 'Software Apps' started by tw0rld, Nov 2, 2008.

Thread Status:
Not open for further replies.
  1. tw0rld TechSpot Enthusiast

    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.

    Attached Files:

Thread Status:
Not open for further replies.