Which benevolent helps to make a small program

xiaoxiao2021-03-06  64

First: Design a BOOK class to describe the information about a book. Member Data: Title, author, book Verification code ISBN, publisher, publishing date and price. At the same time, it should also contain an object member of the ISBN class. Member function: constructor, input and output. Define external functions to do query functions: book name, author. Class book {}; main () {book * p; int N; cout << "Enter the number of books" << endl; cin >> n; p = new book [n]; then: Please use the Book class as a base Class, derive a library management class lib, new data field: the collection of books, lending, lending date, return date, lending logo, etc. New member functions: Borrow processing, return processing, etc., constructor. Please send it to wx1009@126.com The younger brother is thank you! ! !

转载请注明原文地址:https://www.9cbs.com/read-89546.html

New Post(0)