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

正文內(nèi)容

用c實現(xiàn)水電煤氣管理系統(tǒng)-文庫吧在線文庫

2025-05-11 01:03上一頁面

下一頁面
  

【正文】 ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。 char c[20]。 } } while(a0||a4)。 case 4: handed()。 cout ☆ 楊振坡 ☆endl。 char a=39。public : string id。 if(is==0) { cout打開文件失敗!endl。s) { stuListpush_back(s)。stuListat(i)。stuListat(i),sizeof(Student))。 cout|setw(18)身份證號| setw(8)姓名| setw(8)用水量| setw(8)用電量| setw(8)用煤氣量| setw(8)要繳納的費用endl。 } else { while(isgood()) { Teacher s(,)。teaListat(i)。 ()。amp。 } }}。 } Student(string i,string n, float w=0,float p=0,float g=0):User(i,n,w,p,g) {} void display() { cout|setw(18)id| setw(8)name| setw(8)useWater| setw(8)usePower| setw(8)useGas| setw(8)getMoney()endl。 float p=TpowerUnit* usePower。 float usePower。 money=0。 } float getWater() { return useWater。 程序的完成使我很高興,所有的疲憊已經(jīng)不算什么了,現(xiàn)在覺得要想編寫一個好的程序真的很累,它需要牢固的基礎(chǔ)知識作為鋪墊,所有源代碼的編寫輸入以及每一步的調(diào)試都容不得一點馬虎,整個牢固的基礎(chǔ)是編程的最基本需要,要想好每一步的算法,要想到每一個相應(yīng)的函數(shù)。}。 } void setName(string n) { name=n。 name=n。endifincludeiostreamincludeiomanipincludestringusing namespace std。 return w+p+gmoney。 float freeGas。i++) { if(teaListat(i).getId() !=) ((char*)amp。 ()。iteaListsize()。 } } } isclose()。public: TeacherFile() { teaList=new vectorTeacher。 for(int i=0。 !stuListempty()) { ofstream os(stuFileName,ios_base::out)。 ()。s,sizeof(Student))。 float useGas。) { work()。 system(pause)。 cout ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。 case 2: select()。 gets(c)。 cout endl。 cout ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。 cout|setw(18)身份證號| setw(8)姓名| setw(8)用水量| setw(8)用電量| setw(8)用煤氣量| setw(8)要繳的費用endl。 User*user。 cingas。 } cout該用戶的信息是:endl。 StuFile sf。 cout請輸入你要進行的操作:endl。 return 。 StuFile sf。 TeacherFile tf。 (s)。 } else if(o==2) { string id。 string name。//保存教師信息的文件const static char* teaFileName=。依次顯示所有信息Publicvoid setMoney(float m)繳費Publicvirtual float getMoney()=0。(2) 該文件中有兩個類:1. StuFile類,主要用于對學生信息的操作 函數(shù)屬性注釋PublicStuFile()構(gòu)造函數(shù)Publicvoid add(Student amp?!「袷?、繪圖、表格、插圖等規(guī)范準確,符合國家標準10有一定篇幅,字符數(shù)不少于500010總 分100指導(dǎo)教師評語: 指導(dǎo)教師簽名: 年 月 日一. 問題描述:設(shè)計一個水電管理信息系統(tǒng),能夠?qū)Ω咝5乃娰M用進行管理,包括了登記費用,查詢費用,以及住戶信息管理等。在設(shè)計時要考慮到學生和教工在用水電時的不同,學生可以免費使用一定額度的水電,超過這個額度的隨便以后必須自費使用,且自費部分水電費的價格標準要高于教工的收費標準(主要是節(jié)約資源)。s)將S添加到文件中Publicvoid display()依次顯示所有的學生的信息PublicStudent*gerStudent(string id)得到學號為id的學生的對象指針Public~StuFile()析構(gòu)函數(shù),釋放資源,并把數(shù)組中的信息存進文件Publicvoid wjf()未繳費的學生的名單PrivatevectorStudent*stuList。應(yīng)繳費用(四)UML圖:StuFile
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1