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

正文內(nèi)容

停車場(chǎng)管理系統(tǒng)49360-文庫(kù)吧

2025-03-23 23:02 本頁(yè)面


【正文】 //總費(fèi)用 int allcar()。}。void chewei::incar(int cp,int sj){ biaozhi=false。 chepai=cp。 intime=sj。}void chewei::outcar(int sj){ int time,feiyong。 time=sjintime。 feiyong=time*30。 biaozhi=true。 cout車牌號(hào)為: chepaiendl。 cout進(jìn)入車庫(kù)時(shí)間為: intimeendl。 cout離開車庫(kù)時(shí)間為: sjendl。 cout停車時(shí)間為: timeendl。 cout需繳納停車費(fèi)為: feiyongendlendl。 ofstream outfile(,ios::app)。 outfile車牌號(hào)為: chepaiendl。 outfile進(jìn)入車庫(kù)時(shí)間為: intimeendl。 outfile離開車庫(kù)時(shí)間為: sjendl。 outfile停車時(shí)間為: timeendl。 outfile需繳納停車費(fèi)為: feiyongendlendl。 zongshijian=zongshijian+time。 zongfeiyong=zongfeiyong+feiyong。 zongchel=zongchel+1。}int chewei::allcost(){ return zongfeiyong。}int chewei::alltime(){ return zongshijian。}int chewei::allcar (){ return zongchel。}int chewei::tingliusj(int t){ //車輛停留的時(shí)間 if(biaozhi==false) return tintime。 else return 0。}/****************************************可用車位*****************************************/struct ky{ int haoma。 ky * next。 ky(ky * nextky=NULL){next=nextky。} ky(int item,ky *nextky){haoma=item。next=nextky。}}。class kycw{private: ky * head。 int length。public: kycw(){length=0。head=new ky()。} bool isempty(){return headnext==NULL。} void kongche(int item)。 //將空車位插入其中 int shanchu()。 //車位被占就從中刪除它 int changdu(){return length。} //空閑車位的總量}。void kycw::kongche(int item){ //按照從小到大的順序?qū)⒖哲囄徊迦肫渲?ky * p, * q。 p=headnext。 length++。 if(p==NULL) headnext=new ky(item,NULL)。 else{ if(phaomaitem) headnext=new ky(item,p)。 else while((pnext!=NULL)amp。amp。(phaomaitem)){ p=pnext。 } if((pnext==NULL)amp。amp。(phaomaitem))
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1