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 / 688.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  539KB  |  2550x3300
Labels: book | box | crt screen | daybook | reckoner | sky
OCR: 688 Chapter Discovering Example 12-6: point .cpp point .cpp Conta ains the impl ementati ion of the member funct ions for class Point Include Files F incl lude iostream h> #incl Lude "point .h" Note 1 void Poi int: display const Note2 cout bool Point :set x int X val Note2 val >= val, return true; turn false; bool Pos intset int y_val Note2 val >= val return true, 0 return false; Again this is not complete program. This file contains the implementation of the some of the member follows the functions discussion of the of class this Poin file program that demonstrates class Point Note 1:The point header has file been point.h is defined in included order to here check The the compiler syntax rneeds of these to know functions how Note 2 The symbol 15 called the scope resolution operator In thi ...