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 / 723.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  553KB  |  2550x3300
Labels: book | poster | reckoner | sky
OCR: 12.5 C++ and OOP Inheritance 723 ata that an ~employee lic inherit- PRECONDITION: POSTCONDITION: the emp Loyee is properly destroyed any other nager may Mutators inager and bool salary set int le, we will PRECONDI ITION must be non -negat ive. assign an manager's POSTCONDITION non- -negative, salary has adding to been set to and true eturned oloyee and I '0>s sa unchanged and Fals retu rned void change PRECONDITION: group int must be -negative integer that non- repre sents dnoib number POSTCONDI ITION: groupno has been set tc Accessors int get ()dnorb const return oudnoxb PRECONDITI NOI none POSTCONDI ITION: the group number returned const char get name const return name; PRECONDI ITION: none POSTCONDITION: the name is returned int get salary() const return salary; PRECONDITI ION none POST ...