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

正文內(nèi)容

小型公司工資管理系統(tǒng)設(shè)計(jì)課設(shè)報(bào)告(編輯修改稿)

2024-09-03 19:42 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 息;保存員工信息;統(tǒng)計(jì)員工信息;0、退出系統(tǒng)十個(gè)模塊。子菜單有:1)添加員工菜單。包括:增加經(jīng)理;增加銷售人員;增加技術(shù)人員 增加銷售經(jīng)理;返回上級(jí)菜單五個(gè)模塊。2)刪除員工菜單。包括:按照編號(hào);按照姓名;按照部門;返回上級(jí)菜單四個(gè)模塊。3)查詢員工信息菜單。包括:按照編號(hào);按照姓名;按照部門;按照職務(wù);返回上級(jí)菜單五個(gè)模塊。4)修改員工信息菜單。包括:修改姓名;修改部門;修改職務(wù);返回上級(jí)菜單四個(gè)模塊。5)計(jì)算員工工資菜單。包括:按照編號(hào)。按照姓名。0、返回上級(jí)菜單三個(gè)模塊。6)統(tǒng)計(jì)員工菜單。包括:按照性別;按照職務(wù);總?cè)藬?shù);返回上級(jí)菜單四個(gè)模塊。按性別中又分為男員工和女員工兩個(gè);按職務(wù)中分為經(jīng)理、銷售人員、技術(shù)人員、銷售經(jīng)理四個(gè)。開(kāi)始繼承 調(diào)用主函數(shù)北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告8各個(gè)菜單運(yùn)用 dowhile 和 switch case 語(yǔ)句實(shí)現(xiàn)數(shù)字與功能之間的轉(zhuǎn)換和循環(huán)。第四章 系統(tǒng)實(shí)現(xiàn)4.1 類實(shí)現(xiàn)(1)雇員類=class worker //基類,員工{ public: worker(){count++。} worker(int mark) { thismark=mark。 count++。 } virtual ~worker() { cout員工類被析構(gòu) 。endl。} friend istreamamp。 operator (istreamamp。 in,workeramp。 w) 。 friend ostreamamp。 operator (ostreamamp。 out,workeramp。 w)。 static int display1() { return count。 } void input()。 virtual void inputmoney()。 virtual void display()。 virtual void display2()=0。 virtual void money()=0。 char *getjibie() {return jibie。} double getworktime(){return worktime。}北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告9 double getxiaoshoue() {return xiaoshoue。} worker * next。 int num。 char name[20]。 char sex[5]。 char branch[20]。//部門 char jibie[20]。 int mark。 static int count,count1,count2,count3,count4,count5,count6。 int basic。 double worktime。 double xiaoshoue。 int job。 //職務(wù)}。(2)經(jīng)理類:class manager:virtual public worker //經(jīng)理 { public:manager(){} manager(int mark):worker(mark){} ~manager() { cout經(jīng)理類被析構(gòu) 。endl。} friend istreamamp。 operator (istreamamp。 in,manageramp。 w) 。 friend ostreamamp。 operator (ostreamamp。 out,manageramp。 w)。 void inputmoney(){ job=1。 cout請(qǐng)輸入職員基本工資:endl。 cinbasic。 count3++。} void display2() {cout職務(wù):經(jīng)理 職員基本工資 : endl。 coutbasic。}北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告10 void money() { cout該員工的實(shí)際工資是:basicendl。 } }。(3)技術(shù)人員類:class technologyman:virtual public worker //技術(shù)人員{public:technologyman(){} technologyman(int mark):worker(mark){} ~technologyman(){ cout技術(shù)人員類被析構(gòu) 。endl。} void inputmoney(){ job=3。 cout請(qǐng)輸入職員工作時(shí)間:endl。 cinworktime。 count5++。} void display2(){cout職務(wù):技術(shù)人員 職員工作時(shí)間:endl。 coutworktime。} void money(){ jine=35。 cout該員工的實(shí)際工資是:(jine*worktime)endl。} friend istreamamp。 operator (istreamamp。 in,technologymanamp。 w) 。 friend ostreamamp。 operator (ostreamamp。 out,technologymanamp。 w)。 int jine。 }。(4)銷售人員類:class saleman:virtual public worker //銷售人員 {public:saleman(){}saleman(int mark):worker(mark){}~saleman(){ cout銷售人員類被析構(gòu) 。endl。}void inputmoney()北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告11{job=2。cout請(qǐng)輸入職員銷售額:endl。 cinxiaoshoue。ount4++。}oid display2(){cout職務(wù):銷售人員 職員銷售額: endl。 coutxiaoshoue。}void money(){ tichengbili=。cout該員工的實(shí)際工資是:xiaoshoue*tichengbiliendl。 }friend istreamamp。 operator (istreamamp。 in,salemanamp。 w) 。friend ostreamamp。 operator (ostreamamp。 out,salemanamp。 w)。double tichengbili。 }。(5)銷售經(jīng)理:class salemanager: public manager, public saleman //銷售經(jīng)理{public: salemanager(){} salemanager(int mark):worker(mark){} ~salemanager(){ cout銷售經(jīng)理類被析構(gòu)。endl。} void inputmoney(){ job=4。 cout請(qǐng)輸入職員基本工資,銷售額:endl。 cinbasicxiaoshoue。 count6++。 }void display2() {cout職務(wù):銷售經(jīng)理 職員基本工資,銷售額:endl。 coutbasic xiaoshoue。} void money(){ tichengbili=。 cout該員工的實(shí)際工資是:basic+xiaoshoue*tichengbiliendl。}北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告12 friend istreamamp。 operator (istreamamp。 in,salemanageramp。 s) 。 friend ostreamamp。 operator (ostreamamp。 out,salemanageramp。 s)。}。(6)管理類:class control{ private: worker *head。public: control(){ head=NULL。} ~control() { worker* p=NULL。 p=head。 while (p!=NULL) { p=pnext。 //指向下一個(gè)節(jié)點(diǎn) delete head。 //釋放空間 head=p。 } head=NULL。 } void showface()。 void changeinformation()。//修改 void cancelinformation()。//刪除 void addinformation()。 //添加 void showinformation()。 //顯示 void searchinformation()。 // 查詢 void countinformation()。 // 計(jì)算 void readinformation()。 // 讀入 void keepinformation()。 // 保存 void tongjiformation()。 //統(tǒng)計(jì)}。 4.2 函數(shù)實(shí)現(xiàn)(雇員類)北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告13 int worker::count=0。 int worker::count1=0。 int worker::count2=0。 int worker::count3=0。 int worker::count4=0。 int worker::count5=0。 int worker::count6=0。 void worker::input() { cout請(qǐng)輸入職員信息:endl。 cout編號(hào):。 cinnum。 cout姓名:。 cinname。 int i。 cout性別:。 while( i=1){cinsex。 if(strcmp(sex,nan)==0||strcmp(sex,nv)==0){if(strcmp(sex,nan)==0) count1++。 else count2++。break。}else cout輸入錯(cuò)誤請(qǐng)重新輸入endl。} cout部門:。 cinbranch。 } void worker::inputmoney(){ cout基本工資 :endl。 cinbasic。北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告14} void worker::display() { cout編號(hào):num 姓名:name 性別:sex 部門:branch。 } istreamamp。 operator (istreamamp。 in,workeramp。 w) { ()。 ()。 return in。 } ostreamamp。 operator (ostreamamp。 out,workeramp。 w) { ()。 ()。 ()。 return out。 }(經(jīng)理類)istreamamp。 operator (istreamamp。 in,manageramp。 w) { ()。 ()。 return in。 } ostreamamp。 operator (ostreamamp。 out,manageramp。 w) { ()。 ()。 ()。 return out。 }北華航天工業(yè)學(xué)院課
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1