文件名称:no.1
介绍说明--下载内容均来自于网络,请自行研究使用
定义一个结构体typedef struct{int num char name[10] int score[4] }STU ,里面有两个整形数组和一个字符数组,用来存储学生的信息;主函数中接收数据并存入结构体,然后调用函数进行数据的查找,修改删除;编写三个函数
find_stu(STU per[],int t) :输入学生的学号进行查找
modify_stu(STU per[],int t) 对找到的学生的姓名和成绩进行修改;
delete_stu(STU per[],int m) 接受用户输入的学生学号,删除其,并打印出其余的学生的信息。
-Define a structures typedef struct {int num Char name [10] Int score [4] } STU And there are two plastic array and a string array, used to store the students information The main () function to receive data structures, and then calling function of data search, modification and deletion Write three function
Find_stu (STU per [], int t) : input the student id to undertake searching students
Modify_stu (STU per [], int t) To find students name and grades modified
Delete_stu (STU per [], int m) Accept user input students student id, delete it, and print out the rest of the students information.
find_stu(STU per[],int t) :输入学生的学号进行查找
modify_stu(STU per[],int t) 对找到的学生的姓名和成绩进行修改;
delete_stu(STU per[],int m) 接受用户输入的学生学号,删除其,并打印出其余的学生的信息。
-Define a structures typedef struct {int num Char name [10] Int score [4] } STU And there are two plastic array and a string array, used to store the students information The main () function to receive data structures, and then calling function of data search, modification and deletion Write three function
Find_stu (STU per [], int t) : input the student id to undertake searching students
Modify_stu (STU per [], int t) To find students name and grades modified
Delete_stu (STU per [], int m) Accept user input students student id, delete it, and print out the rest of the students information.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
no.1.cpp