Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Book.h"
- #include <list>
- Book:: Book(string book, string name): nameOfBook(book), author(name), ageRestrictions(0);
- {
- }
- Book :: void Show(ofstream &out)
- {
- out << nameOfBook << "/n" << author << endl;
- }
- Book :: bool search(string inf)
- {
- if (inf == author)
- return true;
- else return false;
- }
- List :: void Erase()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement