home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06112.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-11-25  |  348.4 KB  |  1 channel  |  11,025 sample rate  |  32 seconds
Transcription: Here, the object C is a fraction with an initial value of minus five over four. The three elements in the array D are fractions with initial values of one over four, one over two, and three over four. The conversion constructor is called to create a temporary object of type fraction on the right-hand side of each assignment. The value of the temporary fraction object is assigned to the fraction object declared on the left-hand side. and the temporary object is discarded.