|
|
@ -343,6 +343,18 @@ Step 2.12: if c == CMD_QUIT then 退出
|
|
|
|
|
|
|
|
|
|
|
|
![](pictures/main_chart.drawio.svg)
|
|
|
|
![](pictures/main_chart.drawio.svg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### read_data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step 1: 输入文件名
|
|
|
|
|
|
|
|
Step 2: 打开文件
|
|
|
|
|
|
|
|
Step 3: if 文件为空 then 结束
|
|
|
|
|
|
|
|
Step 4: else 读取文件
|
|
|
|
|
|
|
|
Step 5: 提示读取并记录
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![](pictures/read.drawio.svg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### save_data
|
|
|
|
#### save_data
|
|
|
|
|
|
|
|
|
|
|
|
Step 1: 输入文件名
|
|
|
|
Step 1: 输入文件名
|
|
|
@ -361,15 +373,6 @@ Step 3: else 学号存在 then 输出学号、姓名、成绩
|
|
|
|
|
|
|
|
|
|
|
|
![](pictures/query_data.drawio.svg)
|
|
|
|
![](pictures/query_data.drawio.svg)
|
|
|
|
|
|
|
|
|
|
|
|
#### read_data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step 1: 输入文件名
|
|
|
|
|
|
|
|
Step 2: 打开文件
|
|
|
|
|
|
|
|
Step 3: if 文件为空 then 结束
|
|
|
|
|
|
|
|
Step 4: else 读取文件
|
|
|
|
|
|
|
|
Step 5: 提示读取并记录
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![](pictures/read.drawio.svg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### make_chart
|
|
|
|
#### make_chart
|
|
|
|
|
|
|
|
|
|
|
|