470,833 Members | 1,582 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

exception handling ?

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

Mar 8 '06 #1
1 1361
vivekian wrote:
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

Mar 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by adi | last post: by
6 posts views Thread by Daniel Wilson | last post: by
3 posts views Thread by Master of C++ | last post: by
2 posts views Thread by tom | last post: by
9 posts views Thread by C# Learner | last post: by
44 posts views Thread by craig | last post: by
41 posts views Thread by Zytan | last post: by
1 post views Thread by George2 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.