how is exception handling with the try throw catch any different from using an if statement to check if the user input is valid or not?
exception handling?
Page 1 of 12 Replies - 802 Views - Last Post: 29 December 2009 - 04:18 PM
Replies To: exception handling?
#3
Re: exception handling?
Posted 29 December 2009 - 04:18 PM
NickDMax, on 29 Dec, 2009 - 02:05 PM, said:
Well I would say start by reading up on exceptions on the C++ FAQ.
Personally, other than keeping the logic a little clearer, I have never really known the answer myself... lets see what turns up.
Personally, other than keeping the logic a little clearer, I have never really known the answer myself... lets see what turns up.
same im new to programming i just felt i was missing an important concept...if u think about it...they might have also added it to keep your programming more organized so u always dont see a bunch of if's if that is what you were refering to
Page 1 of 1

New Topic/Question
Reply



MultiQuote



|