home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH16 / A16101.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-11-03  |  263.1 KB  |  1 channel  |  11,025 sample rate  |  24 seconds
Transcription: Consider a function that allocates memory. Each function in the call chain has to check the return code and at least pass it on. This error checking code usually makes up a significant portion of a fault tolerant program. In C++, you only need to examine the error code at the points in the program where you have enough information to recover from the exception.