Library.h 327 B

1234567891011121314151617
  1. #ifndef _LIBRARY_H
  2. #define _LIBRARY_H
  3. #include "Book.h"
  4. class Library {
  5. public:
  6. Library(); // constructor
  7. int getBookNum(); // public function to access private int
  8. void printTitles(); // prints book titles (untested)
  9. private:
  10. Book *b; // pointer to array of books
  11. int bookNum; // size of book array
  12. };
  13. #endif