also @ TechSpot: Apple working with suppliers on 8-inch iPad, says WSJ
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > Software Apps

Download Now:

Help with C++

Thread Tools Search this Thread
  #1  
Old 11-02-2008
tw0rld's Avatar
TechSpot Booster
 
Member since: Oct 2007, 585 posts
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.
Attached Files
File Type: txt 07-03.txt (661 Bytes, 9 views)
File Type: txt 07-04.txt (705 Bytes, 4 views)
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 09:55 PM.