From 7c2b605117a1f5c9e4cba2b290e658b02c511a1b Mon Sep 17 00:00:00 2001 From: yangtengze Date: Mon, 24 Apr 2023 12:59:09 +0800 Subject: [PATCH] 1 --- data.h | 3 --- 1 file changed, 3 deletions(-) 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<