公司工资管理系统(C++源代码)
16页1、#include #include #include #include #include #include #define NULL 0int const N=20;#define LEN sizeof(struct student)using namespace std;void Menu();void Pass();int n=0; /定义一个全局变量统计职工人数/-定义一个职工信息的结构体struct studentchar nameN; /用来存放姓名char sexN; /用来存放性别char zhiwuN; /用来存放职务char bumenN; / 用来存放所在部门long id; /用来存放编号float paid; /用来存放工资int total; /用来存放总工资struct student *next;/-职工类class Information public: student *creat(); /建立链表 void output(student *head); /显示职工信息 int count(student *head); /定义函数count()统计职
2、工总数 student *insert(student*head); /指针函数*insert()用来添加职工信息. student *cancel(student *head,long id); /指针函数*cancel()用来删除职工信息. student *find(student *head,long id); /指针函数*find()用来查找职工信息. student *modify(student *head,long id); /指针函数*modife()用来修改职工的信息. void paixu(student *head); /定义paixu()函数将职工的总额从大到小排列并输出 void average(student *head); /定义职工工资平均值的函数 void save(student *head); /保存文件信息 student *Read(); /读取文件信息 private: student *p1,*p2,*p3,*head,st; /-建立链表信息student *Information:creat(void)/定义一个指向struct st
《公司工资管理系统(C++源代码)》由会员油条分享,可在线阅读,更多相关《公司工资管理系统(C++源代码)》请在金锄头文库上搜索。
最新学校新冠肺炎疫情突发事件应急处置办法和流程
最新疫情防控期间学校用餐与食堂管理规定和师生一日流程图
最新Xx省xx区返学师生员工健康登记表
诊所简介
高中英语-第二单元-《the-United-Kingdom》课件-新必修5
新版新目标英语七年级下unit4--Don't-eat-in-class课件
新版PEP六年级英语unit6-how-do-you-feel-A-Let's-talk
安徽专版2018秋八年级英语上册Unit5Doyouwanttowatchagameshow第6课时习题课件新人教目标版
酸的和甜的教学课件.doc
Lesson-1-Where-do-we-go-from-here概要
Docker技术与实践
七年级英语下册-Unit-9-What-does-he-look-like(第3课时)(Grammar-Focus-3d)同步语法精讲精练课件-(新版
《I'm-going-to-do-the-high-jump》PPT课件3
高二英语外研版-必修5-Module-2-A-Job-Worth-Doing-Reading课件
英语片段教学-I-can-do-it
Adobe公司简介
安徽专版2018秋八年级英语上册Unit5Doyouwanttowatchagameshow第2课时习题课件新人教目标版
第二单元全课件Unit2-What-time-do-you-go-to-school-全课件
第18课-Windows的磁盘管理与安全
第12章--Windows-Server-2008路由及远程访问
2024-04-24 10页
2024-04-24 10页
2024-04-24 25页
2024-04-24 10页
2024-04-23 4页
2024-04-23 10页
2024-04-23 19页
2024-04-23 10页
2024-04-23 16页
2024-04-23 5页