Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include"Dealer.h"
- int main()
- {
- Dealer d;
- Automobile(a,b,c);
- d.addAutomobile(a):
- d.addAutomobile(b);
- d.addAutomobile(c):
- std::Cout<<d.getCap();
- std::cout<<d.getSize()<<std::endl;
- d.getAutomobile(i).print();
Advertisement
Add Comment
Please, Sign In to add comment