C++员工工资管理系统源代码重点.docVIP

  • 31
  • 0
  • 约1.74万字
  • 约 17页
  • 2017-05-14 发布于湖北
  • 举报
C员工工资管理系统源代码重点

#include iomanip #include iostream #include fstream #include malloc.h #include stdlib.h #include string.h using namespace std; #define NULL 0 #define LEN sizeof(struct student) int const N=20; void Menu(); void Pass(); int n=0; //定义一个全局变量统计职工人数 //——---------定义一个职工信息的结构体 struct student { char name[N]; //用来存放姓名 char sex[N]; //用来存放性别 long id; //用来存放编号 float paid[3]; //用来存放工资 int total; //用来存放总工资 struct student *next; }; //--------------职工类 class Information { public: Information() ; //构造函数. ~Information() ; //析构函数. student *creat(); //建立链表

文档评论(0)

1亿VIP精品文档

相关文档