Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define M 15
- using namespace std;
- class Employee
- {
- char surname[M+1];
- char given[M+1];
- int number;
- double payrate;
- public:
- istream& operator>>(istream& is,Employee& s);
- ostream& operator<<(ostream& os,Employee& s);
- };
- class EmployeeList
- {
- int n,Maxn;
- Employee *list;
- public:
- EmployeeList(int maxn);
- ~EmployeeList();
- void display() const;
- void add();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement