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

正文內(nèi)容

汽車汽修管理系統(tǒng)課程設(shè)計(jì)-資料下載頁

2025-04-12 22:38本頁面
  

【正文】 修理小時數(shù):eendl。 cout\t\t完工日期:fendl。 } } } else coutendl\t\t\t沒有這張修理單的信息!!endl。 ()。 ()。 system(del d:\\)。 system(pause)。 } //******查詢修理單***** void query_list() { system(cls)。 int flag=1。 while(flag) { system(cls)。 int n。 coutendlendl。 cout\t\t\ endlendl。 cout\t\t\ endlendl。 cout\t\t\ endlendl。 cout\t\t\ endlendl。 cout\t\t\t請輸入您選擇的查詢方式:。 cinn。 switch(n) { case 1:query_rlist_no()。break。 case 2:query_repairman_no()。break。 case 3:system(cls)。break。 case 0:flag=0。break。 default:cout\t輸入錯誤!請重新輸入!endlendl。 } } } //*****月統(tǒng)計(jì)輸出的汽車修理單信息**** void Statistics1() { system(cls)。 char month[2]。 string s。 char c[10]。 string a,b,d,e,f。 string line。 string repairman_no。 coutendlendl\t\t\t請輸入修理單的月份:。 cinmonth。 ifstream car_list(d:\\)。 if(!car_list) { cerr can39。t open!endl。 exit(1)。 } ofstream temp(d:\\)。 if(!temp) { cerr can39。t open!endl。 exit(1)。 } while(getline(car_list,line)) { istringstream is(line)。 isabcdef。 if(*month==*camp。amp。*(month+1)==*(c+1)) { coutendlendl。 cout\t\t修理單信息如下endl。 cout\t\t修理單編號:aendl。 cout\t\t修理工工號:bendl。 cout\t\t修理日期:cendl。 cout\t\t修理項(xiàng)目:dendl。 cout\t\t修理小時數(shù):eendl。 cout\t\t完工日期:fendl。 } } ()。 ()。 system(del d:\\)。 system(pause)。 } //****按月統(tǒng)計(jì)每個修理工的月修理信息**** void Statistics2() { system(cls)。 string s。 char c[10],month[2]。 string a,b,d,e,f。 string line。 string repairman_no。 ifstream car_list(d:\\)。 if(!car_list) { cerr can39。t open!endl。 exit(1)。 } ofstream temp(d:\\)。 if(!temp) { cerr can39。t open!endl。 exit(1)。 } coutendlendl\t\t\t請輸入修理工工號:。 cinrepairman_no。 istringstream is(line)。 isabcdef。 if(repairman_no==b) { while(getline(car_list,line)) { istringstream is(line)。 isabcdef。 coutendlendl\t\t\t請輸入修理單的月份:。 cinmonth。 if(*month==*camp。amp。*(month+1)==*(c+1)) { coutendlendl。 cout\t\t修理單信息如下endl。 cout\t\t修理單編號:aendl。 cout\t\t修理工工號:bendl。 cout\t\t修理日期:cendl。 cout\t\t修理項(xiàng)目:dendl。 cout\t\t修理小時數(shù):eendl。 cout\t\t完工日期:fendl。 } else coutendlendl\t\t\t這個月沒有此修理工修理單信息!!endl。 } } else coutendlendl\t\t\t沒有此修理工!!endl。 ()。 ()。 system(del d:\\)。 system(pause)。 } //*******統(tǒng)計(jì)修理單****** void Statistics() { int flag=1。 while(flag) { system(cls)。 int n。 coutendlendl\t\t\t*****************endlendl。 cout\t\t\endlendl。 cout\t\t\endlendl。 cout\t\t\endlendl。 cout\t\t\t輸入統(tǒng)計(jì)方式:。 cinn。 switch(n) { case 1:Statistics1()。break。 case 2:Statistics2()。break。 case 0:flag=0。break。 default:cout\t輸入錯誤!請重新輸入!endlendl。 } } }private: car_infor carr。}。//******顯示界面******char menu(){ coutendlendl。 cout\t\t*******汽車汽修管理系統(tǒng)*******endlendl。 cout\t\t車輛信息維護(hù)endl。 cout\t\t\ endl。 cout\t\t\ endl。 cout\t\t\ endlendl。 cout\t\t車輛修理單信息維護(hù)endl。 cout\t\t\endl。 cout\t\t\endl。 cout\t\t\endlendl。 cout\t\t信息查詢endl。 cout\t\t\ endl。 cout\t\t\ endlendl。 cout\t\t信息統(tǒng)計(jì)endl。 cout\t\t\endlendl。 cout\t\t\endl。 cout\t\t\t*****************************endlendl。 cout\t\t請輸入你的選擇:。 return getchar()。}//****用戶登錄系統(tǒng)****int Judge5(){ system(cls)。 coutendlendl。 cout\t\t 歡迎登錄汽車汽修管理系統(tǒng)endlendl。 string line。 string user_name,password。 cout\t\t\t用戶名:。 cinuser_name。 coutendl。 cout\t\t\t密碼:。 cinpassword。 fstream user(d:\\)。 while(getline(user,line)) { string a,b。 istringstream is(line)。 isab。 if(user_name==aamp。amp。password==b) { return 1。 } } return 0。}//***注冊時判斷是否重名***int Judge6(string user_name){ string line。 fstream user(d:\\)。 while(getline(user,line)) { string a。 istringstream is(line)。 isa。 if(user_name==a) { return 1。 } } return 0。}//****用戶注冊****int registe(){ string name,password,password1。 ofstream newer(d:\\,ios::app)。 coutendlendlendl。 cout\t\t 歡迎注冊新用戶!!endlendl。 cout\t\t\t用戶名:。 cinname。 coutendl。 if(!Judge6(name)) { cout\t\t\t密碼:。 cinpassword。 coutendl。 cout\t\t\t再次確認(rèn)密碼:。 cinpassword1。 if(password==password1) { newername39。 39。password139。 39。endl。 cout\t\t\t恭喜你!注冊成功!endl。 system(pause)。 return 1。 } else { cout\t\t\t輸入錯誤,注冊失敗!endl。 system(pause)。 registe()。 } } else { system(cls)。 coutendlendl\t\t 用戶名已被注冊!endl。 cout\t\t 重新輸入!。 registe()。 }}//*****主函數(shù)****int main(){ system(COLOR 5e)。 while(1) { int ch。 coutendlendl。 cout\t\t 歡迎使用汽車汽修管理系統(tǒng)endlendl。 cout\t\t\t**************endl。 cout\t\t\ 戶 登 錄endlendl。 cout\t\t\ 戶 注 冊endl。 cout\t\t\t**************endl。 cout\t\t\t輸入您的選擇:。 cinch。 system(cls)。 switch(ch) { case 1: { if(Judge5()) { cout\t\t\t登錄成功!!。 coutendl\t\t\tsystem(pause)。 fun pt。 system(cls)。 while(1) { system(cls)。 switch(menu()) { case39。139。:()。break。 case39。239。:()。break。 case39。339。:()。break。 case39。439。:()。break。 case39。539。:()。break。 case39。639。:()。break。 case39。739。:()。break。 case39。839。:()。break。 case39。939。:()。bre
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1