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

正文內(nèi)容

小型公司工資管理系統(tǒng)設(shè)計(jì)論文)word格式(參考版)

2025-05-17 18:21本頁(yè)面
  

【正文】 參考文 獻(xiàn) 付靈,柴欣《 Visual C++程序設(shè)計(jì)基礎(chǔ)》北京:中國(guó)鐵道出版社 李濤《 C++面向?qū)ο蟪绦蛟O(shè)計(jì)》北京:高等教育出版社 。 了解到類中定義虛函數(shù)的用法,在該類的派生類中定義了同名的成員函數(shù)時(shí),該派生類的成員函數(shù)仍然是虛函數(shù)。 掌握用冒泡法對(duì)數(shù)組進(jìn)行從小到大的排序。在主菜單中調(diào)用各函數(shù)的算法,掌握了如何去掉用一個(gè)函數(shù),以及函數(shù)的定義與調(diào)用的關(guān)系,定義在調(diào)用前的話 ,可以直接進(jìn)行函數(shù)的調(diào)用,否則要先聲明該函數(shù),然后才能調(diào)用該函數(shù)。在派生類中還可以定義其它派生類的對(duì)象。對(duì)于類的保護(hù)成員只被本身的成員函數(shù)使用,而不能被公有派生產(chǎn)生 的派生類的成員函數(shù)使用。 } } } void main() { Showmenu()。 case 4:return 0。 case 3:PrintMenu()。 case 2:StatisticMenu()。 switch(i) { case 1:IntputMenu()。 8 cout請(qǐng)選擇一個(gè)操作: 。 cout ┗━━━━━━━━━━━━┛ endl。 cout ┃ 數(shù)據(jù)打印 : 3,并按回車鍵 ┃ endl。 cout ┃ 數(shù)據(jù)錄入 : 1,并按回車鍵 ┃ endl。 cout ┏━━━━━━━━━━━━┓ endl。 } int Showmenu() {while(1) { coutendl。 coutendl。i++) D[i].Getc()。 for(i=0。 cout銷售員 endl。 wei()。i4。 tou()。 coutendl。i++) A[i].Get()。 for(i=0。 cout經(jīng)理 endl。 wei()。i4。 tou()。 cout職工基本情況一覽表如下: endl。 return 0。i++) D[i].Getx()。 for(i=0。 cout銷售經(jīng)理按工資排序?yàn)椋?endl。coutendl。i4。 } return 1。return 0。break。break。 break。 break。 cini。 cout ┗━━━━━━━━━━━━━━━━┛ endl。 cout ┃ 銷售經(jīng)理數(shù)據(jù)輸入 : 4,并按回車鍵 ┃ endl。 cout ┃ 技術(shù)員數(shù)據(jù)輸入 : 2,并按回車鍵 ┃ endl。 cout ┃ 請(qǐng)選擇您所需要的操作 ┃ endl。 } int IntputMenu() { cout ☆★小型公司工資管理系統(tǒng)★☆ endl。 D[i+1]=temp。 temp=D[i]。i4pass。pass4。 return 0。coutendl。i4。 return 0。coutendl。i4。 return 0。coutendl。i4。 return 0。coutendl。i4。 int i。 //定義全局對(duì)象 Tech B[4]。 } void wei()//輸出表格尾部 {cout┗━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┛ endl。 void tou()//輸出表格頭部 {cout┏━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┓ endl。 ()。 cout┗━━━━━━┻━━━━━━━━━━━━┛ endl。 cout┣━━━━━━╋━━━━━┻━━━━━━┫ endl。 cout┣━━━━━━╋━━━━━╋━━━━━━┫ endl。 cout┣━━━━━━╋━━━━━╋━━━━━━┫ endl。 cout┏━━━━━━┳━━━━━┳━━━━━━┓ endl。 coutname┃ sex ┃ setw(10)age┃ setw(10)ine┃ endl。in。 int n=10strlen(name)。 } void Getx() { cout┣━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━┫ endl。 totals=()+()。 cinnum。 coutendl。 coutendl。//銷售總額 public: double returnt() {return totals。//銷售員 Seller c2。 } }。 Employee::Set()。 class Manager:virtual public Employee//經(jīng)理類 {protected: public: void Set() { cout經(jīng)理的編號(hào): 。 coutname┃ setw(12)salary┃ endl。in。 cout┃ setw(12)num┃ 。 ine=salary*。 cout所屬經(jīng)理編號(hào): 。 cout銷售額: 。 cinnum。//所屬經(jīng)理編號(hào) public: double Gets() { return salary。 class Seller: virtual public Employee//銷售員類 {protected: double salary。 ine=hour*per。 cinhour。 coutendl。 coutendl。 public: void Set() { cout技術(shù)員編號(hào): 。 class Tech:virtual public Employee//技術(shù)員類 {protected: double hour。 coutname┃ sex ┃ setw(10)age┃ setw(10)ine┃ endl。in。 int n=10strlen(name)。 } 開始 主函數(shù) 輸入 i i=1 錄入 i=2 統(tǒng)計(jì) i=3 打印 i=4 退出 InputMenu() 輸入 i i=1 Manager 類 i=2 Tech 類 i=3 Seller 類 i=4 XManager 類 i=5 返回 結(jié)束 3 void Get() { cout┣━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━┫ endl。 cout年齡 :。 cout性別 (m/w):。 public: virtual void Set() { cout其
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1