The following links provide the code samples on the C and C++ exception handling such as try-catch-throw and __try__finally constructs. The exception handling used for handling the exceptions at the programming stage which has been proved to be very good practice to reduce the program bugs.