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 / 726.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  408KB  |  2550x3300
Labels: book | daybook | reckoner | sky
OCR: 726 Chapter Discovering C++ Inc lude files #inc] lude <iostream. h #inc lude <str ing h> #incl lude emp loyee h" The empl loyee class funct ions emp] loyce: :employee name new char[1]; name [0 salary qroupno employee :emplovee const empl ovee name NULL; thi // Note emp .oyee emp loyee( char n, int S, int 6. name strcpy new name char[ strlen n+1l; sala else salary 0 groupno else groupno emp loyee emp vee delete name; bool emp Loyee :salary set int salary return true turn false fincl employeeg groupne