10. Error Handling and Debugging
You may be asking yourself: Why are we just now getting to error handling and debugging? Well, the answer is that, unfortunately, nothing teaches these subjects better than experience. The only way to avoid errors is to never make mistakes, which—trust us—will never, ever happen. But if you are a “half-full” kind of person, you will appreciate that each mistake is an opportunity to learn how to catch future mistakes. In any case, there’s not a whole lot that can be taught when it comes to debugging, which is why you’re finding this chapter somewhat late in the book.
That being said, we can still cover some tips and tricks that should hopefully better arm you in the war against bugs. The chapter begins with some ...
Get C++ Programming: Visual QuickStart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.