August 1999
Beginner to intermediate
912 pages
15h 44m
English
Examine error-handling strategies
Learn to handle programming andl runtime errors
Discover how assertion macros canp help you detect programming errors
Learn to handle anomalous situations with exception handling
Like it or not, bugs crop up in programs. An elusive bug can cause errors to occur that crash the program—or worse, the user’s computer. You can usually categorize an error as a programming error or as a runtime error that’s beyond the programmer’s control. To prevent catastrophe, you should use error-handling mechanisms to help detect programming errors in your source code and to deal with runtime errors, too.