C++ Exception Handling. An exception is an error or problem that arises during the execution of a program. Sometimes this will cause the program to stop running. We can catch and handle exceptions so that our program can continue running even after encountering the issue.

When handling exceptions, we use three keywords:

try: run code inside this block in case of errors
throw: throws an exception when a problem is detected
catch: catch an exception thrown from try block and run code inside this block

If you need to review these topics:
Vectors: https://youtu.be/OGQQK-hmOpE
Functions: https://youtu.be/65PSQUdH5k0

C++ Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4ZDNIOZ51sX25pWKQ1pkpTE

Github Repo for C++ Code:
https://github.com/ImKennyYip/cpp

Install C++ with VS Code:
https://youtu.be/DMWD7wfhgNY

Subscribe for more coding tutorials !