Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
C++ Exception Handling
Collapse the table of content
Expand the table of content

C++ Exception Handling

Visual Studio .NET 2003

Exceptions are run-time anomalies, such as division by zero, that require immediate handling when encountered by your program. The C++ language provides built-in support for raising and handling exceptions. With C++ exception handling, your program can communicate unexpected events to a higher execution context that is better able to recover from such abnormal events. These exceptions are handled by code that is outside the normal flow of control.

For more information, see C++ Exception Handling in the C++ Language Reference.

See Also

Exception Handling

Show:
© 2015 Microsoft