Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CINEMA_H
- #define CINEMA_H
- #include <iostream>
- using namespace std;
- string name;
- int quantity;
- class Cinema
- {
- private:
- Film availableFilms[4] =
- {
- {"Logan", 0},
- {"Split", 34},
- {"John Wick 2", 10},
- {"Guardians of the Galaxy 2", 23}
- };
- public:
- Cinema();
- ~Cinema();
- ShowAllFilmsInfo();
- ShowFilmInfo(string filmName);
- BuyTicket(string filmName);
- };
- Cinema();
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement