Swipe to navigate through the chapters of this book
EXCEPTIONS are used to signal errors or unexpected conditions in a program. Using exceptions to signal errors is not mandatory, and you’ll sometimes find it more convenient to handle them in other ways. However, it is important to understand how exceptions work, because they can arise out of the use of standard language features such as the new operator and the dynamic_cast operator and exceptions are used extensively within the standard library.
Please log in to get access to this content
To get access to this content you need the following product:
- Runtime Errors and Exceptions
- Sequence number
- Chapter number
- Chapter 15