学生管理系统 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[])
|
||||
|
||||
### 主菜单
|
||||
|
||||

|
||||

|
||||
|
||||
### 3. 查询学生
|
||||
|
||||
##### 默认4位学生打印为
|
||||
|
||||

|
||||

|
||||
|
||||
### 1. 添加学生
|
||||
|
||||

|
||||

|
||||
|
||||
##### 再次打印结果为
|
||||
|
||||

|
||||

|
||||
|
||||
### 2. 删除学生
|
||||
|
||||

|
||||

|
||||
|
||||
##### 再次打印
|
||||
|
||||

|
||||

|
||||
|
||||
### 4. 查询学生
|
||||
|
||||

|
||||

|
||||
|
||||
### 5. 修改学生
|
||||
|
||||

|
||||

|
||||
|
||||
##### 再次打印如下
|
||||
|
||||

|
||||

|
||||
|
||||
### 6. 排序(按照学号 sid-升序、sid-降序、年龄 age-升序、age-降序)
|
||||
|
||||
##### sid-升序
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
##### sid-降序
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
##### age-升序
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
##### age-降序
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
##### 错误选项
|
||||
|
||||

|
||||

|
||||
|
||||
### 7. 逆序(反序):在当前排序的基础上
|
||||
|
||||
##### 反序前输出
|
||||
|
||||

|
||||

|
||||
|
||||
##### 执行反序操作
|
||||
|
||||

|
||||

|
||||
|
||||
##### 反序后输出
|
||||
|
||||

|
||||

|