diff --git a/README.md b/README.md index 0d8bf6e..d3e59a2 100644 --- a/README.md +++ b/README.md @@ -700,7 +700,7 @@ C7:void foundReaderInfo(Reader* reader);\\查询读者信息 C8:Reader* LendBook(Reader* reader, Book* book);\\读者借书 ![888](LendBook.svg) C9:void returnBook(Reader* reader, Book* book);\\读者还书 - +![999](returnBook.svg) C10:void save(Book* book);\\文件保存 C11:Book* read1();\\从文件读取 diff --git a/returnBook.svg b/returnBook.svg new file mode 100644 index 0000000..694b1f2 --- /dev/null +++ b/returnBook.svg @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + returnBook + (整数值 id) + + + + + + 结束 + + + + + + + + + + + + + + + + + + + + + + + 整数值 reader + + + + + + + + 整数值 id + + + + + + 输入 id + + + + + + + + getchar() + + + + + + + + + + + + + reader!=NULL + + + + + + + + + + + + + + + + + + id == reader->iNum + + + + + + + + + + + + + 整数值 id_book + + + + + + 输入 id_book + + + + + + + + + + + + + + + + + + reader->aiBookId[i] + + + + + + + + + + + book + + + + + + + + + + + + + + + + + + + + + + + i = 0 到 reader->iMax + + + + 下一个 + + + 完成 + + + + + + + + + + + + + + + + + reader != NULL + + + + + + + + + + + + + + + + + + + + + + + 输出 + + + + + + 输出 + + + + + + + + getchar() + + + + +