daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define M 15
  2. using namespace std;
  3. class Employee
  4. {
  5.     char surname[M+1];
  6.     char given[M+1];
  7.     int number;
  8.     double payrate;
  9. public:
  10.     istream& operator>>(istream& is,Employee& s);
  11.     ostream& operator<<(ostream& os,Employee& s);
  12. };
  13. class EmployeeList
  14. {
  15.     int n,Maxn;
  16.     Employee *list;
  17. public:
  18.     EmployeeList(int maxn);
  19.     ~EmployeeList();
  20.     void display() const;
  21.     void add();
  22. };
RAW Paste Data
Top