20.1 — The need for exceptions
In the previous lesson on handling errors, we talked about ways to use assert(), cerr(), and exit() to handle errors. However, we punted on one further topic that we will now cover: exceptions. When return codes fail When writing reusable code, error handling is a necessity. One of the most …