文件名称:no.1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:793byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义一个结构体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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.