Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "company.h"
- #include "collaborators.h"
- #include<string>
- #include<vector>
- using namespace std;
- int main() {
- Collaborators col1;
- col1.input();
- col1.get();
- Collaborators col2;
- col2.input();
- col2.get();
- cout<<(col1<col2)<<endl;
- cout<<(col1>col2)<<endl;
- vector<Collaborators> compmems;
- compmems.resize(2);
- compmems[0] = col1;
- compmems[1] = col2;
- Company com1 = *new Company("String Inc.",2,compmems);
- cout<<com1<<endl;
- Company com2;
- com2.input();
- cout<<com2<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement