Exforsys
+ Reply to Thread
Results 1 to 2 of 2

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 ...

  1. #1
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97

    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.


  2. #2
    priyaraji is offline Member Array
    Join Date
    Apr 2006
    Answers
    52
    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.


Latest Article

Network Security Risk Assessment and Measurement

Read More...