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

正文內(nèi)容

c課程設(shè)計(jì)報(bào)告--電影院自動(dòng)售票機(jī)-文庫(kù)吧資料

2025-01-23 11:25本頁(yè)面
  

【正文】 ute()。 datatime[2]=posgetDay()。 datatime[0]=posgetYear()。pos!=()。 int flag=0。 pos=()。t)。 t=time(NULL)。 time_t t。 cout_______________________________________________________________________________endl。 } ()。 ((char *)amp。s,sizeof(Ticket))。 } Ticket s。 if(!iFile) { cout電影還未錄入,您不能訂票,請(qǐng)等管理員錄入電影后再來(lái)endl。 } ()。 ((char *)amp。a,sizeof(User))。 User a。 ((char *) amp。 return 。 ifstream iFile1(IDName,ios::in)。}1顧客——訂票//——————————————訂票——————————————void Customer::book(char IDName[]){ system(cls)。 ()。 getchar()。 return 。 system(cls)。 break。 break。 do{ cinchoice2。 Customer ct。}顧客功能選擇//——————————————選擇——————————————void Menu::customer(Interface cfy,char IDName[]){ system(cls)。 ()。i++) ((char *) amp。 } for(int i=0。 if(!oFile) { coutCan not open the file!endl。//任意鍵繼續(xù) return。 } } if(!ok) { cout\n\a\t\t\t\t未找到結(jié)果,刪除失??!\nendl。 coutendl\t\t\t\t刪除成功!\n。pos!=()。 int ok=0。 cinna。 char na[20]。 } } 管理員——?jiǎng)h除//——————————————?jiǎng)h除——————————————void Manager::del(){ system(cls)。 } ok=1。 else cout[有人] 。j10。i10。 cout\t\t\t\t該影片當(dāng)前預(yù)訂情況\n。 if(r=0) cout\a(已播放?。?endl。 coutposgetNum()\tposgetMovieName()\t\t。 coutposgetYear()posgetMonth()posgetDay()\t。 cout_______________________________________________________________________________endl。 int r=timecmp(datatime,array,5)。 datatime[3]=posgetHour()。 datatime[1]=posgetMonth()。 if(timecmp(temp,date,3)==0) { int datatime[5]。 temp[1]=posgetMonth()。pos!=()。 cindate[0]chdate[1]chdate[2]。 char ch。 } else if(choice==2) { int date[3]。 } ok=1。 else cout[有人] 。j10。i10。 cout\t\t\t\t該影片當(dāng)前預(yù)訂情況\n。 if(r=0) cout\a(已播放?。?endl。 coutposgetNum()\tposgetMovieName()\t\t。 coutposgetYear()posgetMonth()posgetDay()\t。 cout_______________________________________________________________________________endl。 int r=timecmp(datatime,array,5)。 datatime[3]=posgetHour()。 datatime[1]=posgetMonth()。pos++) { if(strcmp(posgetMovieName(),na)==0) { int datatime[5]。 for(pos=()。 cout請(qǐng)輸入要查找的影片名\n。choice!=2)。 }while(choice!=1amp。choice!=2) cout\n\a\t\t\t\t選擇有誤!請(qǐng)選擇正確的查找模式。 if(choice!=1amp。 coutendl\t\t\t\t請(qǐng)輸入查找模式:。 do { coutendl\t\t\t\。 int choice。t)。 t=time(NULL)。 time_t t。 }} 管理員——查找//——————————————查找——————————————void Manager::search(){ system(cls)。 if(r=0) cout\a(已播放!) endl。 coutposgetNum()\tposgetMovieName()\t\t。 coutposgetYear()posgetMonth()posgetDay()\t。 datatime[4]=posgetMinute()。 datatime[2]=posgetDay()。 datatime[0]=posgetYear()。pos!=()。 pos=()。t)。 t=time(NULL)。 time_t t。 cout_______________________________________________________________________________endl。 cout\n\n\n\t\t\t\t《顯示模塊》\n\n\nendl。 } if(i==n) return 0。i++) { if(a[i]b[i]) return 1。 for(i=0。) break。 if(ch==39。y39。 cinch。 (Movie)。 //()。 ciny2。 (y1)。 cout\n請(qǐng)輸入電影票價(jià):。 cinna。 (n)。 cout\n請(qǐng)輸入場(chǎng)次:。 (date[3])。 cout\n請(qǐng)輸入放映時(shí)間(12:30):。 (date[1])。 cindate[0]chdate[1]chdate[2]。 double y1,y2。 while(1) { int date[5],n。 Ticket Movie。}管理員——錄入//——————————————錄入——————————————void Manager::input(){ system(cls)。s,sizeof(Ticket))。 while(!()) { (s)。 ((char *)amp。 /*if(!iFile) cout原庫(kù)中不存在電影,請(qǐng)管理員添加endl。 } while(1)。 ()。 getchar()。 return。 system(cls)。 case 6: default: ()。 case 5: ()。 case 4: ()。 case 3: ()。 case 2: ()。 do { switch(choice2) { case 1: ()。 ()。 ()。 } } } 管理員功能選擇://——————————————選擇———————————————void Menu::manager(Interface cfy){ system(cls)。 system(cls)。 } else { cout用戶名或密碼錯(cuò)誤,請(qǐng)重新登錄!endl 請(qǐng)重新登錄或退出注冊(cè)\n\n\n摁回車鍵繼續(xù)……endl。 Sleep(1000)。i=3。 if(strcmp(pw,password)==0) { cout歡迎顧客id,正在為您轉(zhuǎn)入訂票系統(tǒng),請(qǐng)稍后……endl。 } } else { ((char *) amp。 system(cls)。 } else { coutid 用戶不存在!endl 請(qǐng)重輸入正確用戶信息或進(jìn)行注冊(cè)\n\n\n摁回車鍵繼續(xù)……endl。 Sleep(1000)。i=3。strcmp(password,1101)==0) { cout歡迎管理員CFY,正在為您轉(zhuǎn)入管理員系統(tǒng),請(qǐng)稍后……endl。 if(!iFile) { if(strcmp(IDName,)==0amp。 strcat(IDName,.txt)。 gets(password)。 gets(IDName)。 Interface cfy。 char id[30]。 ()。 break。 Interface cfy。 } system(cls)。i++) { couti秒……endl。 for(int i=1。 ()。 ((char *) amp。 ifstream iFile(IDName,ios::in)。 } strcpy(id,IDName)。 if(strcmp(IDName,CFY)==0) //保證不能注冊(cè)管理員賬戶 { coutCFY為管理員賬戶,您不能注冊(cè)!請(qǐng)重新注冊(cè)endl。 cout請(qǐng)輸入您要注冊(cè)的密碼(6位):\n。 while(1) { cout請(qǐng)輸入您要注冊(cè)的用戶名:\n。此類實(shí)現(xiàn)對(duì)賬戶的注冊(cè)與登錄。 void Register()。public: UserInfo()。賬戶操作UserInfo類:class UserInfo{ char IDName[30]。}。菜單Menu類:class Menu{p
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1