Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  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. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement