From 097b1d8f214148d814ae5d3adebcbf43c420c8bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A9=E6=9C=88?= Date: Sat, 22 Apr 2023 16:23:15 +0800 Subject: [PATCH 1/2] C7 --- .vscode/tasks.json | 28 ++++++++++++++++++++++++++++ README.md | 31 +++++++++++++++++++++++++++---- 2 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..7e6453f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,28 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: g++.exe build active file", + "command": "D:\\mingw64\\bin\\g++.exe", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}\\${fileBasenameNoExtension}.exe" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ], + "version": "2.0.0" +} \ No newline at end of file diff --git a/README.md b/README.md index d3c45a3..ef34cb4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # 图书管理系统 - +2022年6月9日 +杨腾泽,孙英皓,李聪颖,刘彩月 ##项目简介 输入项目菜单 选择并执行项目菜单 @@ -11,8 +12,30 @@ 列表: --读数据 --保存数据 -第二次修改 +### C7:修改图书 +选择菜单命令: 7,提示修改和输入图书编号,输入图书编号,再次提示图书数量,输出你要在该图书编号下修改的图书数量,并提示完成;如果输入的图书编号不存在,则提示没有这样的书。 +````` +请选择:7 + +Revise Book + +Which book you wanna revise ? +1 +Original book number : 1 +Revised number :2 +********************** +Revise success +````` + + +`````` +请选择:7 + +Revise Book + +Which book you wanna revise ? +2 +No such book +`````` -- 2.34.1 From 036f108c5c91ae5762e594736d5c66f63ad9c2a5 Mon Sep 17 00:00:00 2001 From: yangtengze Date: Sat, 22 Apr 2023 20:36:27 +0800 Subject: [PATCH 2/2] change --- README.md | 54 ++++++++++++++++++++++++++---------------------------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index c89dce1..b9da172 100644 --- a/README.md +++ b/README.md @@ -25,33 +25,6 @@ 系统的功能性需求: - 数据的查书、借书、还书、打印书籍、添加、删除展示。 - - -### C7:修改图书 -选择菜单命令: 7,提示修改和输入图书编号,输入图书编号,再次提示图书数量,输出你要在该图书编号下修改的图书数量,并提示完成;如果输入的图书编号不存在,则提示没有这样的书。 -````` -请选择:7 - -Revise Book - -Which book you wanna revise ? -1 -Original book number : 1 -Revised number :2 -********************** -Revise success -````` - - -`````` -请选择:7 - -Revise Book - -Which book you wanna revise ? -2 -No such book -`````` 系统的非功能性需求: - 菜单驱动的命令行交互界面。 @@ -75,7 +48,7 @@ No such book ———————————————————————————————————————————— 请选择: ``` -#### C0: 退出程序 +### C0: 退出程序 选择菜单命令:0 再输入:y,确认,则退出程序。若输入:n,则继续程序。 ``` 请选择:0 @@ -136,3 +109,28 @@ Which book you wanna delelet? Enter book ID: 5 Not found ``` +### C7:修改图书 +选择菜单命令: 7,提示修改和输入图书编号,输入图书编号,再次提示图书数量,输出你要在该图书编号下修改的图书数量,并提示完成;如果输入的图书编号不存在,则提示没有这样的书。 +````` +请选择:7 + +Revise Book + +Which book you wanna revise ? +1 +Original book number : 1 +Revised number :2 +********************** +Revise success +````` + + +`````` +请选择:7 + +Revise Book + +Which book you wanna revise ? +2 +No such book +`````` \ No newline at end of file -- 2.34.1