O'Reilly logo

Sams Teach Yourself C++ in 24 Hours, Third Edition by Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 24. Exceptions and Error Handling

The code you've seen in this book was created for illustration purposes. It has not dealt with errors, so that you will not be distracted from the central issues being presented. Real-world programs, on the other hand, must take error conditions into consideration. In fact, in real-world programs, anticipating and handling errors can be the largest part of the code!

In this final hour, you will learn

  • What exceptions are

  • How exceptions are used and what issues they raise

  • How to create bug-free code

  • Where to go from here

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required