搜索资源列表
从数据文件records.txt中读取学生信息
- 从数据文件records.txt中读取学生信息,建立与源数据同序的学生链表并打印在屏幕上; 统计学生链表中身高达标人数(男女生的身高达标值由键盘输入),并打印结果; 对上述学生链表按学号进行排序,然后将一位学生的相关信息插入到已按学号排序的学生链表中后仍然保持学号的有序性,将结果链表打印在屏幕上; 对上述操作后的学生链表进行倒置,结果输出到数据文件result.txt中; 删除链表中身高为指定值的所有学生结点并打印; 将当前的学生链表拆分为男生链表和女生链表(没有
post_to_pre
- 将后缀表达式转换成前缀表达式:从键盘读入一后缀表达式,转化成前缀式-Prefix to postfix expression into the expression: read from the keyboard into a postfix expression, converted into a prefix-style
AutoMaze
- 此迷宫实现从键盘读入矩阵迷宫地图 然后输出任一条可走出路径 若无可走通路径 则输出error-This labyrinth from a maze map the keyboard and then read into the matrix may be out of the path of the output of any one to go through the path without the output error
3
- 从键盘读入若干个字符串,对他们按字母大小的顺序排序,然后把排好序的字符串送到磁盘文件-Read from the keyboard into a number of strings, the size of their alphabetical sort order, then sorted string to disk file
1.3
- 定义一个结构体数组,存放10个学生的学号,姓名,三门课的成绩 从键盘输入10个学生的以上内容,存入文件stud.txt,关闭文件 打开stud.txt文件,将数据读出,查看是否正确写入,关闭文件。 打开文件stud.txt文件,读出数据,将10个学生按照平均分数从高到低进行排序, 分别将结果输出到屏幕上和另一文件studsort.txt中。-Define an array of structures, storage of 10 students to learn numbers
Staff-management-system
- 职工管理系统 数据结构课程设计 1.1问题描述 对单位的职工进行管理,包括插入、删除、查找、排序等功能。 1.2要求 职工对象包括工号、姓名、性别、出生年月、工作年月、学历、职务、住址、电话等信息。 (1)新增一名职工:将新增职工对象按姓名以字典方式存入职工管理文件中。 (2)删除一名职工:从职工管理文件中删除一名职工对象。 (3)查询:从职工管理文件中查询符合某些条件的职工。 (4)修改:检索某个职工对象,对其某些属性进行修改。 (5)排序:按某
SqList
- 1、顺序表基本操作的实现 [问题描述] 当我们要在顺序表的第i个位置上插入一个元素时,必须先将顺序表中第i个元素之后的所有元素依次后移一个位置,以便腾空一个位置,再把新元素插入到该位置。若是欲删除第i个元素时,也必须把第i个元素之后的所有元素前移一个位置。 [基本要求] 要求生成顺序表时,可以键盘上读取元素,用顺序存储结构实现存储。 -1, the basic operation of the order of the table to achieve [Problem Descr
HW2
- This program is to give you practice in the use of UNIX functions fork() and pipe() and to implement message communication between processes. In this program you will implement a simple UNIX shell in C. The shell reads a command line from the input,
Arithmetic-expression-evaluator
- (1) 从键盘或文件读入一个合法的算术表达式,输出正确的结果。 (2) 显示输入序列和栈的变化过程。 (3) 考虑算法的健壮性,当表达式错误时,要给出错误原因的提示。-(1) the keyboard or the file is read into a legitimate arithmetic expressions, output the correct result. (2) changes in the sequence and displays the input pr