1.求解一道C++程序设计的晋升源码题目。。晋升源码(职工信息管理系统)
2.八股文只是晋升源码红尘协议源码起点,底层原理决定你的晋升源码高度
求解一道C++程序设计的题目。。晋升源码怎么吃透源码(职工信息管理系统)
根据你的晋升源码wps文档源码要求修改过,而且调试通过了~~~看看行不行
如果有问题可以直接和我QQ联系:
#include<iostream>
#include<string>
#include<fstream>
using namespace std;
const N=; // 定义系统可录入的晋升源码员工最大数值
string Ename[N];
long Enum[N];
char Esex[N];
int Eage[N];
char Emarriage[N];
int Edepart[N];
int Eposition[N];
int Edegree[];
int Eworktime[N];
float Epay[N];
class Employee
{
public:
string Employeename;
long Employeenum;
char Employeesex;
int Employeeage;
char Employeemarriage;
int Employeedepart;
int Employeeposition;
int Employeedegree;
int Employeeworktime;
float Employeepay;
static long EmployeeMaxNum;
static float EmployeeBasePay;
void NewInfo();
void ShowInfo();
void showall();
void showdepart(int depart);
void showdegree(int degree);
void showage(int min,int max);
void shownum(long number);
void RefreshInfo();
void DeleteInfo();
float Pay(int Employeegrade);
static int MaxNum();
};
class DBOperate
{
public:
string Employeename;
long Employeenum;
char Employeesex;
int Employeeage;
char Employeemarriage;
int Employeedepart;
int Employeeposition;
int Employeedegree;
int Employeeworktime;
float Employeepay;
static long EmployeeMaxNum;
static float EmployeeBasePay;
void WriteIn(int iflag);
void ReadOut();
void RefreshMaxNum(int iflag); //i=1 or -1 or 0
};
long Employee::EmployeeMaxNum = ;
float Employee::EmployeeBasePay = ;
int Employee::MaxNum() //返回系统已经存储的人数
{
int MN = 0;
ifstream myf;
myf.open("EmployeeMaxNum.txt");
myf>>MN;
cout<<MN<<endl;
myf.close();
return MN;
}
void Employee::NewInfo() //添加新成员函数
{
cout<<"新员工姓名: ";
cin>>Employee::Employeename;
Employee::Employeenum = EmployeeMaxNum + Employee::MaxNum()+1;
cout<<"新员工性别 (F为女性,M为男性): ";
cin>>Employee::Employeesex;
cout<<"新员工年龄: ";
cin>>Employee::Employeeage;
cout<<"新员工婚姻状况(Y为已婚,晋升源码N为未婚): ";
cin>>Employee::Employeemarriage;
cout<<"新员工学历,晋升源码请输入相应学历的序号: "<<endl;
cout<<" [1:初中 2:高中 3:本科 4:硕士 5:博士] ";
cin>>Employee::Employeedegree;
while(Employee::Employeedegree !=1&&Employee::Employeedegree !=2&&Employee::Employeedegree !=3&&Employee::Employeedegree !=4&&Employee::Employeedegree !=5)
{
cout<<"输入有误,请重新输入:"<<endl;
cout<<" [1:初中 2:高中 3:本科 4:硕士 5:博士]";
cin>>Employee::Employeedegree;
}
cout<<"新员工所在部门,晋升源码请输入相应部门的序号:"<<endl;
cout<<" [1:董事会 2:市场部 3:公关部 4:客服中心 5:信息中心] ";
cin>>Employee::Employeedepart;
while(Employee::Employeedepart !=1&&Employee::Employeedepart !=2&&Employee::Employeedepart !=3&&Employee::Employeedepart !=4&&Employee::Employeedepart!=5)
{
cout<<"输入有误,请重新输入:"<<endl;
cout<<" [1:董事会 2:市场部 3:公关部 4:客服中心 5:信息中心] ";
cin>>Employee::Employeedepart;
}
cout<<"新员工职位,晋升源码 请输入相应职位的序号: "<<endl;
cout<<" [1:临时职员 2: 正式职员 3:主任 4:部门经理 5:董事长] ";
cin>>Employee::Employeeposition;
while(Employee::Employeeposition !=1&&Employee::Employeeposition !=2&&Employee::Employeeposition !=3&&Employee::Employeeposition !=4&&Employee::Employeeposition !=5)
{
cout<<"输入有误,请重新输入:"<<endl;
cout<<" [1:临时职员 2: 正式职员 3:主任 4:部门经理 5:董事长] ";
cin>>Employee::Employeeposition;
}
cout<<"新员工的晋升源码工作时(不需要输入单位): ";
cin>>Employee::Employeeworktime;
Employee::Employeepay = Employee::Pay(Employee::Employeeposition);
DBOperate dbo;
dbo.ReadOut();
int MaxNum = Employee::MaxNum();
Enum[MaxNum] = Employee::Employeenum;
Ename[MaxNum] = Employee::Employeename;
Esex[MaxNum] = Employee::Employeesex;
Eage[MaxNum] = Employee::Employeeage;
Emarriage[MaxNum] = Employee::Employeemarriage;
Edegree[MaxNum] = Employee::Employeedegree;
Edepart[MaxNum] = Employee::Employeedepart;
Eposition[MaxNum] = Employee::Employeeposition;
Eworktime[MaxNum] = Employee::Employeeworktime;
Epay[MaxNum] = Employee::Employeepay;
dbo.WriteIn(1);
cout<<" 添加新成员成功!"<<endl;
return;
}
void Employee::ShowInfo() //程序主体 数据输出函数
{
int choice1,晋升源码mqx中断源码choice2,min,max;
long searchnum;
Employee e;
cout<<" 请选择查询方式:"<<endl;
cout<<"
2024-12-23 07:3771人浏览
2024-12-23 07:241903人浏览
2024-12-23 06:302450人浏览
2024-12-23 05:431335人浏览
2024-12-23 05:292480人浏览
2024-12-23 05:222514人浏览
3月25日晚,“有风自南——花城文学之夜暨2023花城文学榜荣誉盛典”在广州友谊剧院举行,现场揭晓首届“花城文学榜”10部入选作品并颁发荣誉。首届花城文学榜以“追光·踏浪”为主题,评选出2020年7月
1.【eBPF】使用libbpf开发eBPF程序【eBPF】使用libbpf开发eBPF程序 libbpf是内核提供的功能库,学习它有助于理解如bcc/bpftrace等工具。eBPF程序的运行流
1.如何保护源代码,防止其泄露、扩散。有什么源代码保护软件没有?2.数据加密,源代码加密用迅软DSE好不好啊?3.成品网站源码入口隐藏通道不限制出入,网友:如何保护源代码,防止其泄露、扩散。有什么源代