Advertisement
Guest User

cinem.h

a guest
Mar 25th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #ifndef CINEMA_H
  2. #define CINEMA_H
  3. #include <iostream>
  4. using namespace std;
  5. string name;
  6. int quantity;
  7. class Cinema
  8. {
  9. private:
  10. Film availableFilms[4] =
  11. {
  12. {"Logan", 0},
  13. {"Split", 34},
  14. {"John Wick 2", 10},
  15. {"Guardians of the Galaxy 2", 23}
  16. };
  17. public:
  18. Cinema();
  19. ~Cinema();
  20.  
  21. ShowAllFilmsInfo();
  22. ShowFilmInfo(string filmName);
  23. BuyTicket(string filmName);
  24. };
  25. Cinema();
  26. };
  27.  
  28. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement