home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / CPTUTOR2.ZIP / PERSON.HPP < prev    next >
Text File  |  1990-07-20  |  279b  |  14 lines

  1.                                    // Chapter 11 - Program 1
  2. #ifndef PERSONHPP
  3. #define PERSONHPP
  4.  
  5. class person {
  6. protected:       // Make these variables available to the subclasses
  7.    char name[25];
  8.    int salary;
  9. public:
  10.    virtual void display(void);
  11. };
  12.  
  13. #endif
  14.