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

正文內(nèi)容

c汽車租賃管理系統(tǒng)-文庫(kù)吧資料

2024-09-12 23:33本頁(yè)面
  

【正文】 } bdelcar()。 cout endl。 } b=query(carid)。 } catch(...) { cout輸入有誤,請(qǐng)重新輸入 。 cin carid。339。 break。 baddcar(carid,ame)。 } cout 輸入新的汽車名稱 :endl。 } catch(...) { cout輸入有誤,請(qǐng)重新輸入 。 cincarid。 cout 輸入新的汽車編號(hào) :。 break。 if (b==NULL) { cout 該汽車不存在 。 break。 try { if(carid=0)throw 1。: cout 更改 \n 輸入汽車編號(hào) :endl。 case 39。 addcar(carid,ame)。 } cout 輸入汽車名稱 :endl。 } catch(...) { cout輸入有誤,請(qǐng)重新 輸入 。 cin carid。139。 cin choice。 cout\t\t| 0 返回上一層 |endl。 cout\t\t| 5 查看全部 |endl。 cout\t\t| 3 刪除汽車 |endl。 cout\t\t| 1 增加汽車 |endl。 do { cout \n\n\n\t\t\t歡迎進(jìn)入汽車管理界面 endlendl。 int carid。 } } //析構(gòu)函數(shù),將 che[]寫(xiě)到 文件中 //汽車管理 void CarDatabase::cardata() { char choice。 if(che[j].onshelf==1) f在車庫(kù) endl。 fche[j].name。 f\t\t\t。j++) { if(che[j].gettag()==0) f編號(hào) 。 for (int j=0。 ()。i++) if (che[i].gettag()==0) ((char *)amp。 for (int i=0。 } return 0。 che[top].addcar(n,na)。 int CarDatabase::addcar(int n,char *na) { Car *p=query(n)。 } //顯示 ~CarDatabase()。i=top。i++) if(che[i].getno()==n) che[i].print()。 //汽車庫(kù)管理 virtual void print(int n) { for(int i=0。 } return NULL。che[i].gettag()==0) { return amp。i++) if (che[i].getno()==carid amp。 //增加汽車 Car *query(int carid) { for (int i=0。 } //構(gòu)造函數(shù),將 che[]中 void clear()//全刪 { top=1。 che[top]=b。 if (!file) break。 while (1) { ((char *)amp。 top=1。 //汽車記錄指針 Car che[Maxc]。 }。 } }。 } //輸出汽車 void disp() { cout setw(6) no setw(18) name setw(10) (onshelf==1? 在車庫(kù) :已租 ) endl。 } //出租操作 void retcar() { onshelf=1。 return 1。 onshelf=1。 no=n。 } //設(shè)置名稱 void delcar(){ tag=1。 } //獲取汽車編號(hào) int gettag(){ return tag。 //是否在車庫(kù) 1:在車庫(kù) 0:已租 Car(){} char *getname() { return name。 } //汽車類,實(shí) 現(xiàn)對(duì)汽車的描述,汽車的編號(hào),名稱,租出,歸還等 class Car:public biaozhi { public: char name[20]。039。 break。039。 break。: clear()。 case 39。 disp()。539。 break。 break。 } r=query(customerid)。 } catch(...) { cout輸入有誤,請(qǐng)重新輸入 。 cin customerid。439。 break。 break。 } r=query(customerid)。 } catch(...) { cout輸入有誤,請(qǐng)重新輸入 。 cin customerid。339。 break。 raddcustomer(customerid,ame)。 } cout輸入新的客戶姓名 :。 } catch(...) { cout輸入有誤,請(qǐng)重新輸入 。 cincustomerid。 } print(customerid)。 if (r==NULL) { cout 該客戶不存在 endl。 break。 try { if(customerid=0)throw 1。: cout 更改 \n 輸入客戶編號(hào) :。 case 39。 addcustomer (customerid,ame)。 } cout 輸入客戶姓名 :。 } catch(...) { cout輸入有誤,請(qǐng)重新輸入 。 cin customerid。139。 cin choice。 cout\t\t| 0 返回上一層 |endl。 cout\t\t| 5 查看全部 |endl。 cout\t\t| 3 刪除客戶 |endl。 cout\t\t| 1 增加客戶 |endl。 do { cout \n\n\n\t\t\t歡迎進(jìn)入汽車管理界面 endlendl。 //客戶姓名 int customerid。 } //客戶庫(kù)管理 void CDatabase::customerdata() { char choice。i++) { custom[i].disp()。 } //增添客戶信息 v
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1