文件名称:data-structure
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-05-07
- 文件大小:
- 2.71mb
- 下载次数:
- 0次
- 提 供 者:
- 余**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设有一个职工文件,每个职工记录包含职工编号姓名部门号工资数信息:
int num //职工号
char name[15] //姓名
int depno //部门
float salary //工资
设计一个程序完成如下功能。
(1)从文件中读出职工记录,并建立一个带头结点的单链表。
(2)输入一个职工记录。
(3)显示所有职工记录。
(4)按照编号对所有职工记录进行递增排序。
(5)按照编号对所有职工记录进行递增排序。
(6)按照编号对所有职工记录进行递增排序。
(7)删除职工文件的全部记录。
(8)将单链表的所有职工记录储存到职工文件中。
-There is a trade union documents, each employee record contains the name of the department number wage worker ID number information: int num //Staff No. char name [15] //name int depno //department float salary //wages to design a Program the following functions. (1) read from a file the records of workers and establish a lead single list node. (2) Enter a worker record. (3) Display all employees records. (4) The number of all employees in accordance with the records in ascending order. (5) Number of all employees in accordance with the records in ascending order. (6) Number of all employees in accordance with the records in ascending order. (7) Delete all records workers file. (8) will be a single list of all employees recorded file is saved to workers.
int num //职工号
char name[15] //姓名
int depno //部门
float salary //工资
设计一个程序完成如下功能。
(1)从文件中读出职工记录,并建立一个带头结点的单链表。
(2)输入一个职工记录。
(3)显示所有职工记录。
(4)按照编号对所有职工记录进行递增排序。
(5)按照编号对所有职工记录进行递增排序。
(6)按照编号对所有职工记录进行递增排序。
(7)删除职工文件的全部记录。
(8)将单链表的所有职工记录储存到职工文件中。
-There is a trade union documents, each employee record contains the name of the department number wage worker ID number information: int num //Staff No. char name [15] //name int depno //department float salary //wages to design a Program the following functions. (1) read from a file the records of workers and establish a lead single list node. (2) Enter a worker record. (3) Display all employees records. (4) The number of all employees in accordance with the records in ascending order. (5) Number of all employees in accordance with the records in ascending order. (6) Number of all employees in accordance with the records in ascending order. (7) Delete all records workers file. (8) will be a single list of all employees recorded file is saved to workers.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第一次实验 - 副本\dashen.c
.................\dashen.dsp
.................\dashen.dsw
.................\dashen.ncb
.................\dashen.opt
.................\dashen.plg
.................\Debug\1.exe
.................\.....\1.ilk
.................\.....\1.obj
.................\.....\1.pch
.................\.....\1.pdb
.................\.....\2.obj
.................\.....\2.pch
.................\.....\2.pdb
.................\.....\3.exe
.................\.....\3.ilk
.................\.....\3.obj
.................\.....\3.opt
.................\.....\3.pch
.................\.....\3.pdb
.................\.....\4.exe
.................\.....\4.ilk
.................\.....\4.obj
.................\.....\4.pch
.................\.....\4.pdb
.................\.....\dashen.exe
.................\.....\dashen.ilk
.................\.....\dashen.obj
.................\.....\dashen.pch
.................\.....\dashen.pdb
.................\.....\freadfunction.exe
.................\.....\freadfunction.ilk
.................\.....\freadfunction.obj
.................\.....\freadfunction.pch
.................\.....\freadfunction.pdb
.................\.....\vc60.idb
.................\.....\vc60.pdb
.................\.....\zhangyonghui.exe
.................\.....\zhangyonghui.ilk
.................\.....\zhangyonghui.obj
.................\.....\zhangyonghui.pch
.................\.....\zhangyonghui.pdb
.................\Debug
.................\~$信息管理系统[1].doc
第一次实验 - 副本