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

正文內(nèi)容

c項(xiàng)目設(shè)計(jì)報(bào)告(編輯修改稿)

2025-06-09 22:21 本頁面
 

【文章內(nèi)容簡介】 Capacity。}}。class Truck:public Car //貨車類{private: int Heavy。 double prize。public: Truck(int pos=0,string num=0,string name=No name,int heavy=0):Car(pos,num,name) { Heavy=heavy。 prize=Heavy*2。 } double Outmoney(){Money=Time*prize。return Money。} double Getprize(){return prize。} double GetHeavy(){return Heavy。}}。code源文件include includeiostreaminclude include include void code(){ ifstream infile(,ios::in|ios::nocreate)。 if(!infile) { cout未找到密碼文件,請重新確認(rèn)\n。 exit(1)。 } char c[6]={0},d[6]={0}。 int sel=1,i。 (d,8)。 cout請輸入密碼(初始密碼為000000):endl。 while(sel){ for(i=0。i6。i++) { c[i]=getch()。 if((c[i]=39。039。amp。amp。c[i]=39。939。)||(c[i]=39。a39。amp。amp。c[i]=39。z39。)||(c[i]=39。A39。amp。amp。c[i]=39。Z39。)) putchar(39。*39。)。 } coutendl。 if(c[0]==d[0]amp。amp。c[1]==d[1]amp。amp。c[2]==d[2]amp。amp。c[3]==d[3]amp。amp。c[4]==d[4]amp。amp。c[5]==d[5]) {coutendlendlendlendlendl 密碼通過!endl。 Beep(523,200)。 Beep(659,300)。 Beep(784,300)。 Beep(1060,300)。 sel=0。} else cout密碼錯(cuò)誤,請重新輸入:endl。 } ()。 system(cls)。}void codechange(){ system(cls)。 char c[6]={0},d[6]={0}。 int sel=1,i。 ifstream infile(,ios::in|ios::nocreate)。 (d,8)。 cout請輸入原密碼:endl。 for(i=0。i6。i++) { c[i]=getch()。 if((c[i]=39。039。amp。amp。c[i]=39。939。)||(c[i]=39。a39。amp。amp。c[i]=39。z39。)||(c[i]=39。A39。amp。amp。c[i]=39。Z39。)) putchar(39。*39。)。 } if(c[0]==d[0]amp。amp。c[1]==d[1]amp。amp。c[2]==d[2]amp。amp。c[3]==d[3]amp。amp。c[4]==d[4]amp。amp。c[5]==d[5]) { coutendl 原密碼正確endl。 char count1[6],count2[6]。 cout 請輸入新密碼:endl。 for(i=0。i6。i++) { count1[i]=getch()。 if((count1[i]=39。039。amp。amp。count1[i]=39。939。)||(count1[i]=39。a39。amp。amp。count1[i]=39。z39。)||(count1[i]=39。A39。amp。amp。count1[i]=39。Z39。)) putchar(39。*39。)。 } coutendl 請?jiān)俅屋斎胄拿艽a:endl。 for(i=0。i6。i++) { count2[i]=getch()。 if((count2[i]=39。039。amp。amp。count2[i]=39。939。)||(count2[i]=39。a39。amp。amp。count2[i]=39。z39。)||(count2[i]=39。A39。amp。amp。count2[i]=39。Z39。)) putchar(39。*39。)。 } coutendl。 if(count1[0]==count2[0]amp。amp。count1[1]==count2[1]amp。amp。count1[2]==count2[2]amp。amp。count1[3]==count2[3]amp。amp。count1[4]==count2[4]amp。amp。count1[5]==count2[5]) { ()。 ofstream dfile()。 for(i=0。i6。i++) dfilecount1[i]。 ()。 cout密碼修改成功!endl。 system(cls)。 Beep(523,200)。 Beep(659,300)。 Beep(784,300)。 Beep(1060,300)。 sel=0。 } else cout密碼修改失敗,兩次輸入不一致endl。 } else cout密碼錯(cuò)誤,密碼修改失敗endl。 }maininclude iostreamincludeincludeincludestringincludecmath includecstdlibinclude includefstreamincludecstringinclude includeusing namespace std。Auto r1[31]。Carriage r2[31]。Truck r3[31]。int vehicle。void fun11()。void fun12()。void fun13()。void fun1()。void fun2()。void fun3()。void fun31()。void fun32()。void fun3()。void fun4()。void codechange()。 void code()。void funsave()。void read()。int main(){ code()。 int sel=1。 read()。 while(sel) { cout endl。 cout * *endl。 cout 歡迎進(jìn)入停車場管理程序 endl。 cout * *endl。 cout endl。 coutendlendl。 cout請選擇您的操作:endlendl。 cout ;endl。 cout ;endl。 cout ;endl。 cout ;endl。 cout ;endl。 cout ;endl。 cout請選擇按鍵(05):。 sel=9。 int s1。 cins1。 coutendl。 //判斷輸入,0退出 if(s1=0 amp。amp。 s1=5) { switch(s1) { case 1:fun1()。break。 //增加車輛 case 2:fun2()。break。 //出站車輛 case 3:fun3()。break。 //查找信息 case 4:fun4(
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1