also @ TechSpot: ThinkPad on a Budget, Meet the Edge 13" Notebook - Reviewed

Read on full site | Join TechSpot! (it's free) | Bookmark / Share this


Help with C++

tw0rld
11-02-2008, 08:11 PM
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.

Post a reply, see related topics & more

 Top Technology News

4-Way Intel H55 Motherboard Shootout

Tech Tip of the Week: Customize Your Windows 7 Start Menu Button

MSI unveils new business-minded notebook, P600

London hospital opens to Web-addicted "screenagers"

Nintendo: DS rolling out to Japanese schools

Amazon, others to use new color E-ink displays?

HP Slate coming with Atom and Flash in June for €400?

News around the web: History of the iPod

More Tech News

 Software Downloads

Google Chrome 5.0.356.0 Beta

ChrisTV Lite 5.51

DVDStyler 1.8.0.2

Miranda IM 0.8.17

RemoveIT Pro XT - SE 19.03.2010

RemoveIT Pro v7 Enterprise 19.03.2010

RemoveIT Pro v7 Ultra 19.03.2010

More Downloads



Copyright © 1998-2010 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.