下载此文档

数据结构c语言员工信息管理系统方案.doc


文档分类:IT计算机 | 页数:约18页 举报非法文档有奖
1/18
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/18 下载此文档
文档列表 文档介绍
过去的****惯,决定今天的你,所以,过去的懒惰,决定你今天的一败涂地。数据结构实****报告---信息管理学校铁道大学指导老师翠肖班级信0901-、需求分析本程序主要是执行链表的删除插入等功能根据程序提示我们可以添加、修改、删除员工信息并能进行多种方式的查询还有员工信息一览二、概要设计 1)为了实现上述功能需要定义一下抽象的数据类型: ADTList{ 数据对象:D={ai|ai∈ElemSeti=12··············nn>=0} 数据关系:R1={<ai-1ai>|ai-1ai∈Di=12```````n} 基本操作: InitList(&L); 操作结果:构造一个空的线性表L DestroyList(&L); 初始条件:线性表L存在操作结果:销毁线性表L LocateElem(LI&e); 初始条件:线性表L存在1<i<Listlength(L) 操作结果:用e返回线性表L中第i个数据元素的值 ClearList(&L); 初始条件:线性表L存在操作结果:将线性表L重置为空表}ADTGraph 2)本程序是由几个函数构成的: ①主函数:main() ②菜单函数menu(); ③文件读入函数:readdata(); ④文件写入函数:writedata(); ⑤信息查询函数:chaxun(); ⑥信息更新函数:gengxin(); ⑦信息一览函数:liebiao(); ⑧数据删除函数:shanchu(); ⑨数据添加函数:tianjia(); ⑩数据修改函数:xiugai(); 它们的调用关系如三、详细设计#include<> #include<> #include<> #include<>//清屏函数头文件#include<> #include<> #include<> #defineLENsizeof(structemp) #defineDATA"" structemp { longintnum;//编号 charname[20];// intage;//年龄 charsex[4];//性别 charbirthday[10];//生日 chartel[15]; // charedu[8];//学历 charpos[20];//职务 charadd[30];//住址 structemp*next; }; structemp*head=NULL; intt=0; voidmenu(); voidgengxin(); voidtianjia(); voidinsert(structemp*em); voiddisplay(structemp*p); voidliebiao(); voidchaxun(); voidbianhao(); voidshengri(); voidxingming(); voidreadDate(); voidwriteDate(); voidfreeAll(); voidshanchu(); voidchange(); voiddevise(structemp*p); voidmain() { structemp*head=NULL; head=(structemp*)malloc(LEN); head->next=NULL;system("color1f"); system("modecon:cols=150lines=500"); readDate();menu(); system("cls"); printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); printf("使用再见\n"); } voidmenu(void) { charilj[100]; intflog;time_tT; structtm*timenow; time(&T);timenow=localtime(&T); flog=0; while(1) { system("cls"); printf("\n\n\n\n\n"); printf("┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━员工信息管理系统━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n"); printf("┃┃\n"); printf("┃┃\n"); printf("┃┃\n"); printf("┃┃\n"); printf("┃┃\n"); printf("┃┃\n"); printf("┃┃\n"); printf("┃┃\n"); printf("

数据结构c语言员工信息管理系统方案 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数18
  • 收藏数0 收藏
  • 顶次数0
  • 上传人wxnt86
  • 文件大小89 KB
  • 时间2020-09-29