Specification File Bookrecordh Class Specifies Members Implement Book Record Includes Copi Q37121119

//********************************************************** //SPECIFICATION FILE (BookRecord.h) // This class specifies themembers to implement a book // record (which includes copiesTotaland copiesAvailable // in addition to the member variables inBookType).//**********************************************************#ifndef BOOKRECORD_H #define BOOKRECORD_H #include “BookType.h”#include #include using namespace std; class BookRecord; // ForwardDeclaration ostream& operator <<(ostream&, constBookRecord&); class BookRecord:public BookType { public: //Constructor BookRecord(string s1 = “”, string s2 = “”, string s3 =””, string s4 = “”, int n = 0, int k = 1); // The member variablesare set according to the incoming // parameters. If no values arespecified, the default values // are assigned. (By default, we setkey=1, i.e., we

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.