home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A062023.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  222.1 KB  |  1 channel  |  11,025 sample rate  |  20 seconds
Transcription: Inverting a fraction object involves swapping the values in the data members num, the numerator, and denomin, the denominator. In this class, the sign of a fraction with a value less than zero is stored in the numerator. Therefore these statements include some extra logic for transferring a negative sign to the member num.