Perdes

BookPile.h

Jan 26th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include "book.h"
  4.  
  5.  
  6. using namespace std;
  7.  
  8. class BookPile {
  9. public:
  10. void AddBook (struct Book b);
  11. void RemoveBook();
  12. struct Book GetNextBook();
  13. void ListAllBooks();
  14. int GetNumBooks();
  15. protected:
  16. vector <string> Book;
  17. };
  18.  
  19. BookPile GetNextBook() {
  20. return struct Book();
  21. }
Advertisement
Add Comment
Please, Sign In to add comment