diff --git a/图书管理系统.c b/图书管理系统.c index d2a3c4d..c4cf283 100644 --- a/图书管理系统.c +++ b/图书管理系统.c @@ -95,6 +95,18 @@ void ShowLibInfo(const Book* book1, const Reader* reader1) } //C3 +void ShowLibBook(Book* book1) +{ + Book* book = book1; + while (book != NULL) + { // \t :制表符 + printf("%d\t%s\t%s\t%s\t%d\n", book->iNum, book->acName, book->acAuthor, book->acPress, book->iAmount); + book = book->next; + } + printf("\n按任意键返回\n"); + getchar(); + return; +} //C4