-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.h
38 lines (30 loc) · 838 Bytes
/
book.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "LibraryItem.h"
using namespace std;
#include <string>
//using namespace std;
class Book : public LibraryItem {
private:
//int bookID;
//int cost;
string title;
string author;
string cat;
int isbn;
public:
Book();
//book(int patronID,int booksOut,float fineBal,string name);
//void SetBookId(int bookID);
//void SetCost(int cost);
void SetTitle(string title);
void SetAuthor(string author);
void SetCat(string cat);
void SetIsbn(int isbn);
//int GetBookId();
//int GetCost();
string GetTitle();
string GetAuthor();
string GetCat();
int GetIsbn();
void PrintInfo() override;
void PrintRawInfo() override;
};