home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / c / c_plus_tut / hpp / person < prev    next >
Encoding:
Text File  |  1994-04-05  |  265 b   |  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.