Exceptions
Lesson 16 of 23 in Coddy's C++ File Handling course.
Exceptions indicate a problem that occurs during a program's execution.
Exception Handling on the other hand can resolve those exceptions and allow the program to continue on, notify the user of the problem or even terminate the program.
We handle exception using try-catch blocks, we will first learn what try means.
Try it yourself
This lesson doesn't include a code challenge.