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

正文內(nèi)容

南郵泊車(chē)管理系統(tǒng)程序設(shè)計(jì)報(bào)告(編輯修改稿)

2024-11-12 09:55 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 break。 case 3:break。 default:system(color Fc)。coutendl\t\t\t\t輸入格式不正確! endl。 _sleep(1000)。break。 } if(choice==3)break。 } return。 } void arrive() //汽車(chē)到達(dá) { int choice=1。 if(top==20amp。amp。flag==20) throw erroFull()。 //小車(chē)數(shù)目滿(mǎn)則拋出異常 for(。) { system(cls)。 //清 屏函數(shù)調(diào)用 printStar()。 //打印星號(hào)函數(shù) cout\t\t\t\t歡迎進(jìn)入本泊車(chē)管理界面 endlendl。 printLine()。 //劃線函數(shù) cout\t\t\t| \t\t\t |endl。 /*打印兩個(gè)空格 */ printLine()。 //劃線函數(shù) cout\t\t\t| \t\t\t |endl。 printLine()。 //劃線函數(shù) 10 cout\t\t\t| \t\t\t |endl。 printLine()。 //劃線函數(shù) printStar()。 //打印星號(hào) cout\t\t 請(qǐng)輸入您的選項(xiàng) 13 : 。 //二級(jí)菜單函數(shù) cinchoice。 //選擇菜單函數(shù) switch(choice) //選擇菜單函數(shù) { case 1:potLG()。break。 case 2:passLG()。break。 case 3:break。 default:system(color Fc)。 coutendl\t\t\t\t輸入格式不正確! endl。 _sleep(1000)。break。 } if(choice==3)break。 } return。 } /*void readwriteDAT() { long *temp。 FILE *rf,*wf。 rf=fopen( , r )。 wf=fopen( , w )。 fscanf(rf, %ld ,amp。temp)。 feep(temp)。 fprintf(wf, %ld ,temp)。 fprintf(wf,\n )。 fclose(rf)。 fclose(wf)。 } */ double feep(time_t* tmp) //時(shí)間差的 計(jì)算 { int m=0,min=0,sec=0。 //設(shè)置數(shù)據(jù)用來(lái)計(jì)算時(shí)間間隔,停車(chē)時(shí)、分、秒。 double gap=0,hour=0。 local=localtime(tmp)。 // 11 將存儲(chǔ)的時(shí)間轉(zhuǎn)化為當(dāng)?shù)貢r(shí)間日歷 coutlocaltm_hour:localtm_min:localtm_secendl。 //顯示停車(chē)時(shí)刻 hour=localtm_hour。 //保存停車(chē)時(shí)刻 min=localtm_min。 sec=localtm_sec。 now=time(NULL)。 nowp=localtime(amp。now)。 cout\t 當(dāng) 前 時(shí) 間 :\tnowptm_hour:nowptm_min:nowptm_secendl。 //顯示當(dāng)前時(shí)間 hour = nowptm_hourhour。 //求出停車(chē)的時(shí)間間隔 min= nowptm_minmin。 sec= nowptm_secsec。 if(sec0){min。sec=60+sec。} //進(jìn)行秒、分鐘、秒時(shí)間轉(zhuǎn)換 if(min0) {hour。min=60+min。} cout\t汽車(chē)共停 \t hour小時(shí) min分 sec秒 endl。 if(min30) gap=hour+。 else gap=hour+1。 //停車(chē)應(yīng)收費(fèi)的時(shí)間(單位:小時(shí)) return gap。 } void cul() { int s=5,m=0,h=0。 Clock c。 (h,m,s)。 ()。 printf(\n\tThe time is over!!!\a\n)。 } void cacutime() //預(yù)約時(shí)間計(jì)算函數(shù) { 12 try { if(top==20) throw erroFull()。 //車(chē)滿(mǎn)拋出異常 system (cls)。 //清屏函數(shù) printStar()。 //打印星號(hào) cout\t\t\t\t歡迎進(jìn)入預(yù)約界面 endl。 coutendl\t\t\t停車(chē)場(chǎng)共有 20 個(gè)車(chē)位,現(xiàn)共停 (含預(yù)約 )top個(gè)車(chē)位。endlendl。 char numCar。 cout\t\t\t 請(qǐng)輸入車(chē)牌的數(shù)字部分: 。 cinnumCar。 coutendl\t\t\t!車(chē)位預(yù)約成功,系統(tǒng)將在一秒后返回上層界面?。?endl。 top++。 _sleep(1000)。 //當(dāng)前休眠一秒 cul()。 } catch(erroFull amp。err) { ()。 } return。 } void resure() { return。 13 } void passOut() //小車(chē)離開(kāi) { FILE *out。 out = fopen(, ab+)。 try { if(flag==0) throw erroEmp()。 double fee=0。 system(cls)。 printStar()。 cout\t\t\t\t您進(jìn)入了小車(chē)離開(kāi)界面 endl。 cout\t\t\t將要離開(kāi)車(chē)的信息清單: endl。 cout\t 車(chē)牌號(hào)碼: \ta[front]carNum\
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1