home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_12 / 707.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  781KB  |  2550x3300
Labels: book | reckoner | sky
OCR: and OOP Polymorphism 707 12.4 C++ const; Note 3 n. There- Fracti .on operator +( Fract ion .on class PRECONDITION none POSTCONDITION The return va ob lue ect is the and fract ion sum of the invoki ing private: int num; int denom; numerator the denominator Fract represent the has two members in of the Fract default ion and Note 1 the file; discuss This file sets the the Lon. is The num data First parameters header to overloading notice postcondition file and of functions the for and of type denom to the data constructors, are irt. this operators, class to Fracti let's constructor default ion the consider to It for private be indicates constructor cannot the the zero. other section; that be other this two executed. object. constructor constructor the elements int constructor constructor decl ...