pull/9/head
yangtengze 2 years ago
parent d2ff06820c
commit e6f73d8a19

@ -86,7 +86,7 @@ template <int MAXSIZE = 256>
void DoAddBook() void DoAddBook()
{ {
if (books.length == MAXSIZE) { if (books.length == MAXSIZE) {
cout << "books full" << endl;exit(DoAddBook);} cout << "books full" << endl;}
cout << endl << "Add Book"<< endl<<endl; cout << endl << "Add Book"<< endl<<endl;
Book book; Book book;
input(book); //输入图书 input(book); //输入图书

Loading…
Cancel
Save