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

正文內(nèi)容

c水電煤氣管理系統(tǒng)-文庫(kù)吧資料

2024-11-11 20:44本頁(yè)面
  

【正文】 ase::in)。 float money。 float usePower。 string name。 } } //StuFile 類(lèi),對(duì)學(xué)生信息的操作 //TeacherFile 類(lèi),對(duì)教工信息的操作 includeiostream includeiomanip includefstream includevector includestring include include include include ifndef StuFile_class define StuFile_class class StuFile { vectorStudent *stuList。 cout是否繼續(xù)使用該系統(tǒng) (y/n)endl。y39。y39。 Menu()。 system(cls)。 coutendl。 cout ☆ ☆ endl。 cout ☆ ☆ endl。 cout ☆ ☆ endl。 } } void Menu() { coutendl。 break。 break。 break。 break。 return a。 cout請(qǐng)重新輸入一遍 !endlendl。 if(a0||a4) { coutendlendl。 cina。 do { cout 請(qǐng)選擇相應(yīng)的功能 (04):endl。 int a。 cout endl。 cout endl。 coutendl。 cout ☆ ☆ endl。 cout ☆ ☆ endl。 } int mainMenu() { coutendlendl。 usersetMoney(money)。 float money。 userdisplay()。 } cout該用戶(hù)的信息是 :endl。 if(user==0) { cout資料庫(kù)中沒(méi)有該身份證號(hào)的用戶(hù) !endl。 user=(id)。 StuFile sf。 cinid。 } void handed() { cout請(qǐng)輸入要繳費(fèi)的人的身份證號(hào) :。 usersetGas(gas)。 usersetWater(water)。 cout請(qǐng)輸入他的用煤氣量 :。 cout請(qǐng)輸入他的用電量 :。 cout請(qǐng)輸入他的用水量 :。 cout|setw(18)身份證號(hào) | setw(8)姓名 | setw(8)用水量 | setw(8)用電量 | setw(8)用煤氣量 | setw(8)要繳的費(fèi)用 endl。 return 。 if(user==0) user=(id)。 cinid。 TeacherFile tf。 if(o==1||o==2) { User*user。 float power。 string id。 int o。 } void add() { cout endl endl 作 endl。 ()。 userdisplay()。 } cout該用戶(hù)的信息為 :endl。 if(user==0) { cout資料庫(kù)中沒(méi)有該身份證號(hào)的用戶(hù) !endl。 user=(id)。 cout請(qǐng)輸入他的身份證號(hào) :。 TeacherFile tf。 } else if(o==3) { User *user。 cout|setw(18)身份證號(hào) | setw(8)姓名 | setw(8)用水量 | setw(8)用電量 | setw(8)用煤氣量 | setw(8)要繳的費(fèi)用 endl。 ()。 if(o==1) { cout該用戶(hù)的信息是 :endl。 StuFile sf。 int o。 cout \n \n \n \n \nendl。 } else return 。 StuFile sf。 cinname。 cinid。 string name。 (t)。 Teacher t(id,name)。 cout請(qǐng)輸入新教工的姓名 :。 cout請(qǐng)輸入新教工的身份證號(hào) :。 if(o==1) { string id。 int o。 cout \n \nendl。 endif includeiostream includeiomanip includestring includevector include include include using namespace std。 //保存學(xué)生信息的文件 const static char* stuFlieName=。 const static float SpowerUnit=1。 const static float TgasUnit=1。 應(yīng)繳費(fèi)用 (四 )UML 圖 : StuFile +id:string +name:string +useWater:float +usePower:float +useGas:float +money:float +add():void +display():void +wjf():void Student freeWater:float freePower:float freeGas:float +display():void +getMoney():void User +i:string +n:string +w:float +p:float +g:float +getId():string +getName():string +setId(string
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1