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

正文內(nèi)容

航空客運(yùn)訂票系統(tǒng)課程設(shè)計(jì)(數(shù)據(jù)結(jié)構(gòu))-資料下載頁

2025-06-07 04:02本頁面
  

【正文】 dl。 cinch。 system(pause)。 pnext=snext。 snext=p。 }while(ch==39。y39。||ch==39。Y39。)。 } void Display(AirPlane *flight) //輸出航線 { int n。 cout endl。 coutplease input your choice :。 cinn。 29 if(n==1) { char d[20]。 coutplease input the destination you would look up:endl。 cind。 Displaydes(flight,d)。 } else if(n==2) { coutplease input the flight:。 char f[20]。 cinf。 Displayflight(flight,f)。 } else coutinput is error!endl。 system(pausenull)。 } void Book(AirPlane *amp。flight) //訂票 { AirPlane *p=new AirPlane,*f=NULL。 char line[20]。 coutplease input the flight:。 cinline。 30 system(cls)。 f=Displayflight(flight,line)。 //查找乘客要訂 的航班是否存在 if(f) { InputPassenger(fbook,f)。 Displayflight(flight,line)。 } else coutSorry! Not find the flight!endl。 } void ReturnTicket(AirPlane *amp。flight) //退票 { AirPlane *p=new AirPlane,*f=NULL。 char line[20]。 char name[20]。 coutplease input the flight:。 cinline。 f=Displayflight(flight,line)。 if(f) { Passenger *p=fbooknext。 Passenger *q=fbook。 int flag=0。 31 coutPlease input the passenger name you need back:。 cinname。 while(p) { if(!strcmp(pname,name)) { flag=1。 break。 } p=pnext。 q=qnext。 } if(flag==1) { PrintPassenger(p)。 int vote。 do { coutPlease input the vote you need back:。 cinvote。 if(votepbnum) cout最大退票量為 :pbnumendl。 } while(votepbnum)。 32 if(vote==pbnum) { qnext=qnextnext。 fticket+=vote。 delete p。 } else { pbnum=vote。 fticket+=vote。 } } else cout沒有找到名字為 :name乘客的訂票信息 !endl。 } } void menu() { // system(cls)。 cout******************************endl。 cout endl。 cout endl。 33 cout endl。 cout endl。 cout endl。 cout*******************************endl。 } void main() { AirPlane *flight。 CreatFlight(flight)。 while(1) { menu()。 int num。 coutplease input your choice:。 cinnum。 fflush(stdin)。 switch(num) { case 1: { system(cls)。 Creat(flight)。 }break。 case 2: 34 { system(cls)。 Display(flight)。 }break。 case 3: { system(cls)。 Book(flight)。 }break。 case 4: { system(cls)。 ReturnTicket(flight)。 }break。 case 5:exit(0)。 } } } 35 數(shù)據(jù)結(jié)構(gòu)課程設(shè)計(jì) 成績評定 成績評定: (百分制 ) 指導(dǎo)教師簽字: 檢查時(shí)間:
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1