Library information management system
no vote
The library information management system includes class book{ private:int num; &Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; / / number string name; & nbsp; & nbsp; & nbsp; / / Title int b_ Class; & nbsp; & nbsp; / / grade string publishing; & nbsp; & nbsp; / / press int ISBN; & nbsp; & nbsp; & nbsp; / / isbnint stock; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; / / surplus int sale; & nbsp; & nbsp; & nbsp; & nbsp; / / sales volume public:BOOK () {} & nbsp; & nbsp; & nbsp; & nbsp; / / constructor void add1(); & nbsp; & nbsp; & nbsp; & nbsp; //Add book information void add2(); void setnum (int a) & nbsp; & nbsp; / / when adding the information of the second book, set the code {num = a;} int getnum() & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; / / to get the number {return num;} & nbsp; string getname() & nbsp; & nbsp; / / to get the name {return name;} void show(); & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; / / to display book information & nbsp; & nbsp; & nbsp; int getB_ class(){return B_ class;}int getsale(){return sale;}