公司工资管理系统(c+a+源代码).docVIP

  • 8
  • 0
  • 约2.98万字
  • 约 30页
  • 2016-12-01 发布于湖南
  • 举报
#include iomanip #include iostream #include fstream #include malloc.h #include stdlib.h #include string.h #define NULL 0 int const N=20; #define LEN sizeof(struct student) using namespace std; void Menu(); void Pass(); int n=0; //定义一个全局变量统计职工人数 //-----------定义一个职工信息的结构体 struct student { char name[N]; //用来存放姓名 char sex[N]; //用来存放性别 char zhiwu[N]; //用来存放职务 char bumen[N]; // 用来存放所在部门 long id; //用来存放编号 float paid; //用来存放工资 int total; //用来存放总工资 struct student *next; }; //--------------职工类 class Information { public: student *creat(); //建立链表 void output(student *head); //显示职工信息 int c

文档评论(0)

1亿VIP精品文档

相关文档