
- Forum
- Programming Talk
- C and C++
- Is this Concept same for C and C++
Is this Concept same for C and C++
This is a discussion on Is this Concept same for C and C++ within the C and C++ forums, part of the Programming Talk category; Is the concept of exception handling handles the same way in C and C++? If not what is the difference ...
-
Is this Concept same for C and C++
Is the concept of exception handling handles the same way in C and C++? If not what is the difference between the two.
-
No there are differences in the way exception handling is handled by C and C++. In C programs generally we check the return codes of function which indicates success or failure and then take care of errors based on the return codes. However in C++ exception handling is don separately apart from return codes from function and C++ exception handling needs a lot of run-time system support routines.

Reply With Quote





