exception handling ?

V

vivekian

Hi,

I have not used much of exception handling in C++ and was wondering
what are the right situations to do so . Coming from a C background ,
error handling seems to take care of most things. When should one
decide to throw an exception and when should one try to stick to error
handling ?

Thanks in advance,
vivekian
 
T

Thomas Tutone

vivekian said:
I have not used much of exception handling in C++ and was wondering
what are the right situations to do so . Coming from a C background ,
error handling seems to take care of most things. When should one
decide to throw an exception and when should one try to stick to error
handling ?

This is an FAQ:

http://www.parashift.com/c++-faq-lite/exceptions.html

Come back if you have questions after reviewing that.

Best regards,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top