Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MAINMENU_H
- #define MAINMENU_H
- #include "BookCollection.h"
- #include <iostream>
- #include <vector>
- #include "bookdata.h"
- using namespace std;
- class Menu
- {
- private:
- // Pointer to a bookCollection object
- static BookCollection *books;
- public:
- static void cashier();
- static void invMenu();
- static void reports();
- // this function will be called to initialize the Menu
- // After the book collection object has been created
- static initialize(BookCollection *b){ books = b; }
- };
- #endif
Add Comment
Please, Sign In to add comment