C++实现简单职工管理系统
本文实例为大家分享了C++职工管理系统实例代码,供大家参考,具体内容如下 1.单个职工的头文件 staff.h #ifndef STAFF_H_INCLUDED #define STAFF_H_INCLUDED //结构体创建 struct staff { char ID[10]; char name[10]; char sex[10]; int pay; int reward; int factpay; }; //自定义结构体 typedef struct staff staff; //单个职工信息创建 staff Createstaff(); //单个职工信息输出 void
下载地址
用户评论