学生管理系统 readme
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 195 KiB After Width: | Height: | Size: 195 KiB |
Before Width: | Height: | Size: 195 KiB After Width: | Height: | Size: 195 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 185 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
@ -1,5 +1,5 @@
|
|||
```c
|
||||
#include <stdio.h>
|
||||
学生管理系统#include <stdio.h>
|
||||
#include <stdlib.h> // malloc
|
||||
#include <string.h> // strcpy
|
||||
|
||||
|
@ -456,82 +456,82 @@ int main(int argc, char const *argv[])
|
|||
|
||||
### 主菜单
|
||||
|
||||
![image-20230720001141667](./学生管理系统.assets/image-20230720001141667.png)
|
||||
![image-20230720001141667](./README.assets/image-20230720001141667.png)
|
||||
|
||||
### 3. 查询学生
|
||||
|
||||
##### 默认4位学生打印为
|
||||
|
||||
![image-20230720001211074](./学生管理系统.assets/image-20230720001211074.png)
|
||||
![image-20230720001211074](./README.assets/image-20230720001211074.png)
|
||||
|
||||
### 1. 添加学生
|
||||
|
||||
![image-20230720001350791](./学生管理系统.assets/image-20230720001350791.png)
|
||||
![image-20230720001350791](./README.assets/image-20230720001350791.png)
|
||||
|
||||
##### 再次打印结果为
|
||||
|
||||
![image-20230720001411293](./学生管理系统.assets/image-20230720001411293.png)
|
||||
![image-20230720001411293](./README.assets/image-20230720001411293.png)
|
||||
|
||||
### 2. 删除学生
|
||||
|
||||
![image-20230720001526593](./学生管理系统.assets/image-20230720001526593.png)
|
||||
![image-20230720001526593](./README.assets/image-20230720001526593.png)
|
||||
|
||||
##### 再次打印
|
||||
|
||||
![image-20230720001530511](./学生管理系统.assets/image-20230720001530511.png)
|
||||
![image-20230720001530511](./README.assets/image-20230720001530511.png)
|
||||
|
||||
### 4. 查询学生
|
||||
|
||||
![image-20230720001732555](./学生管理系统.assets/image-20230720001732555.png)
|
||||
![image-20230720001732555](./README.assets/image-20230720001732555.png)
|
||||
|
||||
### 5. 修改学生
|
||||
|
||||
![image-20230720001835486](./学生管理系统.assets/image-20230720001835486.png)
|
||||
![image-20230720001835486](./README.assets/image-20230720001835486.png)
|
||||
|
||||
##### 再次打印如下
|
||||
|
||||
![image-20230720001850325](./学生管理系统.assets/image-20230720001850325.png)
|
||||
![image-20230720001850325](./README.assets/image-20230720001850325.png)
|
||||
|
||||
### 6. 排序(按照学号 sid-升序、sid-降序、年龄 age-升序、age-降序)
|
||||
|
||||
##### sid-升序
|
||||
|
||||
![image-20230720002052320](./学生管理系统.assets/image-20230720002052320.png)
|
||||
![image-20230720002052320](./README.assets/image-20230720002052320.png)
|
||||
|
||||
![image-20230720002058261](./学生管理系统.assets/image-20230720002058261.png)
|
||||
![image-20230720002058261](./README.assets/image-20230720002058261.png)
|
||||
|
||||
##### sid-降序
|
||||
|
||||
![image-20230720002134021](./学生管理系统.assets/image-20230720002134021.png)
|
||||
![image-20230720002134021](./README.assets/image-20230720002134021.png)
|
||||
|
||||
![image-20230720002137522](./学生管理系统.assets/image-20230720002137522.png)
|
||||
![image-20230720002137522](./README.assets/image-20230720002137522.png)
|
||||
|
||||
##### age-升序
|
||||
|
||||
![image-20230720002210173](./学生管理系统.assets/image-20230720002210173.png)
|
||||
![image-20230720002210173](./README.assets/image-20230720002210173.png)
|
||||
|
||||
![image-20230720002212945](./学生管理系统.assets/image-20230720002212945.png)
|
||||
![image-20230720002212945](./README.assets/image-20230720002212945.png)
|
||||
|
||||
##### age-降序
|
||||
|
||||
![image-20230720002242172](./学生管理系统.assets/image-20230720002242172.png)
|
||||
![image-20230720002242172](./README.assets/image-20230720002242172.png)
|
||||
|
||||
![image-20230720002256701](./学生管理系统.assets/image-20230720002256701.png)
|
||||
![image-20230720002256701](./README.assets/image-20230720002256701.png)
|
||||
|
||||
##### 错误选项
|
||||
|
||||
![image-20230720002349905](./学生管理系统.assets/image-20230720002349905.png)
|
||||
![image-20230720002349905](./README.assets/image-20230720002349905.png)
|
||||
|
||||
### 7. 逆序(反序):在当前排序的基础上
|
||||
|
||||
##### 反序前输出
|
||||
|
||||
![image-20230720002515087](./学生管理系统.assets/image-20230720002515087.png)
|
||||
![image-20230720002515087](./README.assets/image-20230720002515087.png)
|
||||
|
||||
##### 执行反序操作
|
||||
|
||||
![image-20230720002548026](./学生管理系统.assets/image-20230720002548026.png)
|
||||
![image-20230720002548026](./README.assets/image-20230720002548026.png)
|
||||
|
||||
##### 反序后输出
|
||||
|
||||
![image-20230720002604945](./学生管理系统.assets/image-20230720002604945.png)
|
||||
![image-20230720002604945](./README.assets/image-20230720002604945.png)
|