Perdes

BookPile.h

Jan 27th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include "book.h"
  4.  
  5. using namespace std;
  6.  
  7. #ifndef bookpile_h
  8. #define bookpile_h
  9.  
  10. #endif
  11.  
  12. class BookPile {
  13. public:
  14. void AddBook (Book b);
  15. void RemoveBook();
  16. Book GetNextBook();
  17. void ListAllBooks();
  18. int GetNumBooks();
  19. protected:
  20. vector <Book> Books();
  21. };
  22.  
  23. Book BookPile::GetNextBook() {
  24. return Book();
  25. };
  26. void BookPile::ListAllBooks() {
  27. cout << "[Empty]" << endl;
  28. };
  29. void BookPile::AddBook(Book b) {
  30.  
  31. };
Advertisement
Add Comment
Please, Sign In to add comment