Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
|
|||||||
Download Now:
Help with C++
|
|
Thread Tools | Search this Thread |
|
#1
|
||||
|
||||
|
Help with C++
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. |


