搜索资源列表
从数据文件records.txt中读取学生信息
- 从数据文件records.txt中读取学生信息,建立与源数据同序的学生链表并打印在屏幕上; 统计学生链表中身高达标人数(男女生的身高达标值由键盘输入),并打印结果; 对上述学生链表按学号进行排序,然后将一位学生的相关信息插入到已按学号排序的学生链表中后仍然保持学号的有序性,将结果链表打印在屏幕上; 对上述操作后的学生链表进行倒置,结果输出到数据文件result.txt中; 删除链表中身高为指定值的所有学生结点并打印; 将当前的学生链表拆分为男生链表和女生链表(没有
example11-13
- 建立每个学生信息的记录对学生信息按分数从高到低排序显示排序后的结果-Established a record of each student information on the student information from high to low Sort by score sort the result shows
fwen
- 1)手工输入几个学生信息,并将结果存入文件f1中 2)找出f1中学生分数最高的那个人,(有可能多个并列第一),将这个人的信息写入文件f2.-1) The manual input of several student information, and will result in the file f1, 2) to identify students with the highest score f1 person, (there may be more tied for first),
Test2
- 随机给出三个学生的成绩,然后按由大到小的成绩进行排序-Random given three student s result, and then press the big to small result sort