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

正文內(nèi)容

c課程設(shè)計(jì)-----高校工資管理系統(tǒng)-展示頁

2024-12-27 14:56本頁面
  

【正文】 2+otherM 。 //設(shè)置教師類的基本工資 class Exp:virtual public Employee //實(shí)驗(yàn)員類(虛繼承) { public: static int otherM。 int Teacher::baseh=120。 ()。 } void save() // { (,ios::app)。 //教師基本工 作量 public: Teacher(){} float getTM() //獲取課時(shí)費(fèi)函數(shù) { return (workhourbaseh)*20。 //教師上學(xué)期的工作量 static int baseM1。 // 純虛函數(shù)獲取月薪 ~Employee(){} //析構(gòu)函數(shù) }。 string name。 //輸出文件 ifstream infile。include iostream include string include fstream include iomanip using namespace std。 ofstream outfile。 //輸入文件 class Employee //抽象基類 { public: int num。 public: Employee(){} virtual float getMS()=0。 class Teacher:virtual public Employee //虛繼承 { public: int workhour。 //教師基本工資 static int baseh。 } float getMS() //重新定義純虛函數(shù) { return baseM1+getTM() 。 //這里是追加方式 outfilesetw(10)numsetw(20)namesetw(10)workhourendl。 } ~Teacher(){} }。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1