Advertisement
Guest User

Untitled

a guest
May 26th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.30 KB | None | 0 0
  1. #ifndef EMPLOYEE_H
  2. #define EMPLOYEE_H
  3. #include <string>
  4. #include "Person.h"
  5. using namespace std;
  6.  
  7. class Employee: public Person
  8. {
  9.     public:
  10.  
  11.         string show_name();
  12.         string show_surname();
  13.         char show_sex();
  14.         string show_company();
  15.         int show_satif();
  16.         double show_salary();
  17.         void show_result();
  18.         int show_number();
  19.         //========prezentacja==========
  20.         void present();
  21.         //=============================
  22.  
  23.         void set_name(string n);
  24.         void set_surname(string s);
  25.         void set_sex(char c);
  26.         void set_company(string c);
  27.         void set_satif(int s);
  28.         void set_salary(double s);
  29.         void set_result();
  30.  
  31.         //=========ustawienia zbiorcze=========
  32.         void set_employee();
  33.         //=====================================
  34.  
  35.         //przeciazanie konstruktorów
  36.         Employee();
  37.         Employee(string n,string m,string comp,char c,int s,double sd,int t[]);
  38.         //destruktor
  39.         virtual ~Employee();
  40.  
  41.     protected:
  42.     private:
  43.         string company;         //firma zatrudniajaca
  44.         double salary;          //wynagrodzenie
  45.         int satisfaction;       //zadowolenie w %
  46.         int result[12]={0};     //miesieczny zysk dla firmy
  47. };
  48.  
  49. #endif // EMPLOYEE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement