diff --git a/data.h b/data.h index 9ae1c5b..f05e2a5 100644 --- a/data.h +++ b/data.h @@ -82,11 +82,8 @@ bool bookempty() } // 添加图书 -template void DoAddBook() { - if (books.length == MAXSIZE) { - cout << "books full" << endl;exit(DoAddBook);} cout << endl << "Add Book"<< endl<