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

正文內(nèi)容

停車場管理系統(tǒng)c課程設(shè)計(1)(參考版)

2025-01-25 01:43本頁面
  

【正文】 } ///////////////////////////////////////程序結(jié)束。 cout\t 停車時間 :catime[loc1].hour:catime[loc1].minendl。 ///////////根據(jù)車位查詢車位狀態(tài) cinloc。 //根據(jù)車牌號查詢是否入庫 } void search_pos() { int loc。 else cout\t此車沒有入庫。 } void search_no() { int poi=p()。 hour=newtimetm_hour。 newtime = localtime( amp。 time( amp。 } void Time::getime() { 程序設(shè)計綜合課程設(shè)計 27 struct tm *newtime。 cout\t車費為 :charge元 .\n。 if(min130)//計算出停車時間 charge=carin[poi].fee*hour1+carin[poi].fee*。 hour1=catime[poi].hourhour1。 min1=catime[poi].min。 if(poi100) { position[poi]=0。 } void car::takecar() { int hour1,min1。 cout\n\n\t 現(xiàn)在時間是 :catime[i].hour:catime[i].minendl。 cout\n\n\t車位號 :carin[i].posendl。 carin[i].pos=i+1。 } cout輸入錯誤!請重新輸入: \n。 } 程序設(shè)計綜合課程設(shè)計 26 else if(t==4) { carin[i].fee=。 } else if(t==3) { carin[i].fee=。 } else if(t==2) { carin[i].fee=。 if(t==1) { carin[i].fee=。 while(1) { cout\n\n\t◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎ \n\n\t貨車請輸入 1,客車請輸入 2,轎車請輸入 3,其他請輸入 4: \n\n\t◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎\n\n。 } } } if(k=100) return k。k++) { if(!strcmp(ch,carin[k].no)) { if(position[carin[k].pos1]==1) { return (carin[k].pos1)。 for(int k=0。 cout\t車牌號 :。 return j。j100) { j++。 while(position[j]==1amp。 } ()。 } else cout\t選擇錯誤 ,請重新選擇 :。n++) couttime1[n][j] 。j++) 程序設(shè)計綜合課程設(shè)計 24 for(n=0。 for(j=0。 cout 。m100。i5。 } infilea。 if(! infile) {cerropen error!endl。////定義二維數(shù)組讀取數(shù)據(jù) int i,j,m,n。break。break。 cinx。 } if(k==3) { int x。 cout請選擇 : \n\n\t◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎ \n\n\t◇ ◇ \n\n\t◇ ◇ 程序設(shè)計綜合課程設(shè)計 23 \n\n\t◇ ◇ \n\n\t◇ 4. 退出 ◇ \n\n\t◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎ \n\n。 } if(k==2) { poi=p()。/////////保存車輛信息。 couttime1。 time1=ctime(amp。 time(amp。 string time1。 carin[i].putcar()。 cout\t車牌號 :。 //exit(1)。 //ifstream infile(車輛信息 .txt,ios::in)。 if(! outfile) {cerropen error!endl。 cout請選擇 : \n\n\t◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎ \n\n\t◇ ◇ \n\n\t◇ ◇ \n\n\t◇ ◇ \n\n\t◇ 4. 退出 ◇ \n\n\t◇◎◇◎◇◎◇◎◇◎◇◎◇◎◇◎ \n\n。 continue。 ci++。 } if(!strcmp(hb,cm)) break。 } else { cout請輸入密碼 :。 if(ci==3) return。 if(strcmp(ha,)) { cout輸入錯誤 !\n。 程序設(shè)計綜合課程設(shè)計 21 while(1) { cout請輸入管理員用戶名 :。//////管理員密碼 char [10],cm[10]。 void main() { /////////////////////////////////////////////用戶登錄 const char ha[10]=wangbing。 void search_no()。 int juge()。//全局變量 car carin[100]。 int i,poi。 void getime()。 class Time { public: int hour。 void takecar()。 double fee。 class car { public: char no[9]。 總而言之,這次 C++程序設(shè)計實踐讓我收獲 很大。特別是學(xué)會了在 Visual C++中如何調(diào)試程序的方法。而這些問題,又都是課本上很少提到的、更深一層的實踐與知識相結(jié)合的問題,這并不是我們平時只靠課本,就可以輕易解決的。整體地評價這次課程設(shè)計,我認(rèn)為收獲很大,正如上面所說的那樣,通過課程設(shè)計,既復(fù)習(xí)了以前的
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1