欢迎来到天天文库
浏览记录
ID:30800824
大小:294.10 KB
页数:22页
时间:2019-01-03
《员工管理程序》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、!JrT>rjw头文件>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><2><2>irjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwr
2、jwrjwrjwrjwrjwrjwrjwrjwJ#include#include#include#defineN10()voidmenu_handle();/*函数处理菜单*/intmenu_choose();/*函数选择菜单*/voidinput_worker();/*创建文件并对工人信息输入函数*/voidsave_file(intn);/*文件保存*/intload。;/*提取员工数*/voidmessage_output();/*员工信息浏览函数*/voidadd_worker();/*员工添加函数*/voiddele
3、_worker();/*员工信息删除函数*/voidfine();/*员工信息查询函数*/voidfine_num();/*员工号查询函数*/voidfine_name();/*按姓名查询函数*/voidsort_age();/*按年龄排序函数*/voidsort_pay();/*按工资排序函数*/voidsort();/*排序函数处理*/voidchange(structworker*p,intn);/*交换元素*/!JrT>rjw主函数>>>>>>>>>>>>>>>>>>>>>>>><
4、?>>>>>>>>>>>>>>>>>>>>>>>>><2><2>irjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwrjwJvoidmain()printf(nttt°°00008计算机工程系oooooo8”);printf(n
5、ntttttt计Ylll班”);printf(ntttttt朱建国n);menu_handle();/*调用菜单函数*/!<1*JrT>rjw菜单文件<{^/rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwrj・rjwj/6、^jw菜单选择函数•弘<2^!intmenu_chooose()intshuzi;/*定义数字选择的变量s*/chars[2];//printf(HH);printf(MtOOOO888OO8OOOOOOOOOO88888OOOOOOOOO7、OOO8OOOOOOOOoooo»*);printf(ntprintf(nt*”);printf(Ht*M);printf(nt*“);printf(Ht*n);printf(ntprintf(nt*”);printf(Mt8oo”);printf(M*********”);/*选择菜单*/1・员工信息输入2•员工信息输出3•添加员工信息4•删除员工信息5•员工信息查询6•员工信息排序7.退出程序OOOO
6、^jw菜单选择函数•弘<2^!intmenu_chooose()intshuzi;/*定义数字选择的变量s*/chars[2];//printf(HH);printf(MtOOOO888OO8OOOOOOOOOO88888OOOOOOOOO
7、OOO8OOOOOOOOoooo»*);printf(ntprintf(nt*”);printf(Ht*M);printf(nt*“);printf(Ht*n);printf(ntprintf(nt*”);printf(Mt8oo”);printf(M*********”);/*选择菜单*/1・员工信息输入2•员工信息输出3•添加员工信息4•删除员工信息5•员工信息查询6•员工信息排序7.退出程序OOOO
此文档下载收益归作者所有