C员工工资管理系统源代码.docxVIP

  • 8
  • 0
  • 约1.36万字
  • 约 36页
  • 2020-10-28 发布于天津
  • 举报
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(); // 建立链表 void output(student *head); // 显示职工信息 int count(student *hea

文档评论(0)

1亿VIP精品文档

相关文档