Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include "book.h"
- using namespace std;
- #ifndef bookpile_h
- #define bookpile_h
- #endif
- class BookPile {
- public:
- void AddBook (Book b);
- void RemoveBook();
- Book GetNextBook();
- void ListAllBooks();
- int GetNumBooks();
- protected:
- vector <Book> Books();
- };
- Book BookPile::GetNextBook() {
- return Book();
- };
- void BookPile::ListAllBooks() {
- cout << "[Empty]" << endl;
- };
- void BookPile::AddBook(Book b) {
- };
Advertisement
Add Comment
Please, Sign In to add comment