Perdes

bookpile.h

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