freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

職工信息管理系統(tǒng)-資料下載頁

2024-10-24 03:05本頁面
  

【正文】 t i。long number。for(i=0。i{number = Enum[i]。shownum(number)。} }void Employee::showdepart(int depart)//按職工所在部門輸出函數(shù){int i。switch(depart){case 1: coutcase 2: coutcase 3: coutcase 4: coutcase 5: coutcase 6: coutcase 7: coutdefault: cout”}for(i=0。i{if(Edepart[i] == depart){long number = Enum[i]。shownum(number)。}else continue。} }void Employee::showdegree(int degree)//按職工學(xué)歷輸出函數(shù){int i。switch(degree){case 1:coutcase 2:coutcase 3:coutcase 4:coutcase 5:coutcase 6:cout}for(i=0。i{if(Edegree[i] == degree){long number = Enum[i]。shownum(number)。} else continue。} }void Employee::showage(int min,int max)//按職工年齡段輸出函數(shù){int i。for(i=0。i{if(Eage[i]=minamp。amp。Eage[i]{long number = Enum[i]。shownum(number)。}else continue。} }void Employee::shownum(long number)//按職工編號(hào)輸出函數(shù){int i。for(i=0。i{if(Enum[i] == number){coutcoutcoutcoutif(Esex[i]==39。F39。)coutelse if(Esex[i]==39。M39。)coutcoutcoutif(Emarriage[i]==39。Y39。)coutelse if(Emarriage[i]==39。N39。)coutcoutswitch(Edegree[i]){case 1:coutcase 2:coutcase 3:coutcase 4:coutcase 5:coutcase 6:cout}coutswitch(Edepart[i]){case 1:coutcase 2:coutcase 3:coutcase 4:coutcase 5:coutcase 6:coutcase 7:cout}coutswitch(Eposition[i]){case 1:coutcase 2:coutcase 3:coutcase 4:coutcase 5:cout}coutcoutcout}else continue。} }void Employee::RefreshInfo()//修改職工信息的函數(shù) {int cNum = 1000。DBOperate dbo。()。void Employee::shownum(long number)。coutcincNum。int MN。MN = Employee::MaxNum()。for(int i=0。i{if(Enum[i] == cNum){Employee::shownum(cNum)。coutcoutcinEmployee::Employeename。Ename[i] = Employee::Employeename。coutcinEmployee::Employeesex。Esex[i] = Employee::Employeesex。coutcinEmployee::Employeeage。Eage[i] = Employee::Employeeage。coutcinEmployee::Employeemarriage。Emarriage[i] = Employee::Employeemarriage。coutcoutcinEmployee::Employeedegree。while(Employee::Employeedegree!=1amp。amp。Employee::Employeedegree!=2amp。amp。Employee::Employeedegree!=3amp。amp。Employee::Employeedegree!=4amp。amp。Employee::Employeedegree!=5amp。amp。Employee::Employeedegree!=6){coutcoutcinEmployee::Employeedegree。}Edegree[i] = Employee::Employeedegree。coutcoutcinEmployee::Employeedepart。while(Employee::Employeedepart!=1amp。amp。Employee::Employeedepart!=2amp。amp。Employee::Employeedepart!=3amp。amp。Employee::Employeedepart!=4amp。amp。Employee::Employeedepart!=5amp。amp。Employee::Employeedepart!=6amp。amp。Employee::Employeedepart!=7){coutcoutcinEmployee::Employeedepart。}Edepart[i] = Employee::Employeedepart。coutcoutcinEmployee::Employeeposition。while(Employee::Employeeposition!=1amp。amp。Employee::Employeeposition!=2amp。amp。Employee::Employeeposition!=3amp。amp。Employee::Employeeposition!=4amp。amp。Employee::Employeeposition!=5){coutcoutcinEmployee::Employeeposition。}Eposition[i] = Employee::Employeeposition。coutcinEmployee::Employeeworktime。Eworktime[i] = Employee::Employeeworktime。Epay[i] = Employee::Pay(Employee::Employeeposition)。break。}}(0)。}void Employee::DeleteInfo()//刪除職工數(shù)據(jù)的函數(shù){char tmp。int cNum = 1000。DBOperate dbo。()。void Employee::shownum(long number)。cout: ”。cincNum。int MN。MN = Employee::MaxNum()。for(int i=0。i{if(Enum[i] == cNum)Employee::shownum(cNum)。}coutcintmp。if(tmp==39。Y39。){if(i==MN1)(1)。else{for(int j=i。j{ Enum[j] = Enum[j+1]。}(1)。}cout} }float Employee::Pay(int Employeeposition)//根據(jù)職工職位計(jì)算工資的函數(shù){float tmpPay。tmpPay = Employee::EmployeeBasePay + Employee::Employeeposition Employee::EmployeeBasePay。*return tmpPay。}void DBOperate::WriteIn(int iflag)//數(shù)據(jù)操作函數(shù)—寫入{DBOperate::RefreshMaxNum(iflag)。ofstream myf(“”)。Employee e。int MN。MN = ()。for(int i=0。i{myf}()。return。}void DBOperate::ReadOut()//數(shù)據(jù)操作函數(shù)—讀出{ifstream myf(“”)。Employee e。int MN。MN = ()。for(int i=0。i{myfDBOperate::EmployeenumDBOperate::EmployeenameDBOperate::EmployeesexDBOperate::EmployeeageDBOperate::EmployeemarriageDBOperate::EmployeedegreeDBOperate::EmployeedepartDBOperate::EmployeepositionDBOperate::EmployeeworktimeDBOperate::Employeepay。Enum[i] = DBOperate::Employeenum。Ename[i] = DBOperate::Employeename。Esex[i] = DBOperate::Employeesex。Eage[i] = DBOperate::Employeeage。Emarriage[i] = DBOperate::Employeemarriage。Edegree[i] = DBOperate::Employeedegree。Edepart[i] = DBOperate::Employeedepart。Eposition[i] = DBOperate::Employeeposition。Eworktime[i] = DBOperate::Employeeworktime。Epay[i] = DBOperate::Employeepay。}()。}void DBOperate::RefreshMaxNum(int iflag)//更新系統(tǒng)中員工計(jì)數(shù)文件的函數(shù){int MaxNum = 0。ifstream myif(“”)。myifMaxNum。()。MaxNum = MaxNum+iflag。ofstream myof(“”)。myof()。}int main()//主函數(shù){system(“color B0”)。//設(shè)置當(dāng)前窗口的背景色和前景色// 0 = 黑色= 灰色// 1 = 藍(lán)色= 淡藍(lán)色// 2 = 綠色A = 淡綠色// 3 = 淺綠色 B = 淡淺綠色// 4 = 紅色C = 淡紅色// 5 = 紫色D = 淡紫色// 6 = 黃色E = 淡黃色// 7 = 白色F = 亮白色int select = 0。while(select!=5){coutcout《主菜單》∣”coutcout∣”cout∣”cout∣”cout∣”cout∣”coutcoutcoutcinselect。Employee e。DBOperate dbo。switch(select){case 1:()。break。case 2:()。()。break。case 3:()。break。case 4:()。break。case 5: coutdefault: cout}if(select == 5)break。}exit(1)。return 0。}
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1