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

正文內(nèi)容

c汽車租賃管理系統(tǒng)-在線瀏覽

2024-11-07 23:33本頁面
  

【正文】 custom[]寫入 }。 top=1。 while (1) { ((char *)amp。 if (!file) break。 custom[top]=s。 } //構(gòu)造函數(shù),將 custom[]中 CDatabase::~CDatabase() { fstream file(,ios::out)。i=top。custom[i],sizeof(custom[i]))。 ofstream f(c:\\)。j=top。 f\t\t\t。 fcustom[j].name。 f所租汽車編號(沒有就寫 0) 。 fendl。 if (p==NULL) { top++。 cout客戶添加成功 endl。 } return 0。i=top。 } } //輸出所有客戶信息 int CDatabase::customernum() { return top。 char ame[20]。 Customer *r。 cout\t\tendl。 cout\t\t| 2 更改客戶 |endl。 cout\t\t| 4 查找客戶 |endl。 cout\t\t| 6 刪除全部 |endl。 cout\t\tendl。 switch (choice) { case 39。: cout 新增 \n 輸入客戶編號 :。 try { if(customerid=0)throw 1。 break。 cin ame。 break。239。 cin customerid。 } catch(...) { cout輸入有誤,請重新輸入 。 } r=query(customerid)。 break。 cout輸入新的客戶編號 :。 try { if(customerid=0)throw 1。 break。 cin ame。 cout修改成功 !endl。 case 39。: cout 刪除 \n 輸入客戶編號 :。 try { if(customerid=0)throw 1。 break。 if (r==NULL) { cout 該客戶不存在 endl。 } rdelcar()。 case 39。: cout 查找 \n 讀入 客戶編號 :。 try { if(customerid=0)throw 1。 break。 if (r==NULL) { cout 該客戶不存在 endl。 } rdisp()。 case 39。: cout顯示 :endl。 break。639。 cout已刪除 !endl。 default: if (choice!=39。) cout輸入錯誤,請從新輸入: 。 } } while (choice!=39。)。 //名稱 int onshelf。 } //獲取姓名 int getno(){ return no。 } //獲取刪除標(biāo)記 void setname(char na[]) { strcpy(name,na)。} //刪除汽車 void addcar(int n,char *na) { tag=0。 strcpy(name,na)。 } //增加汽車 int borrowcar() { if (onshelf==1) { onshelf=0。 } return 0。 } //歸還操作 void print() { cout 汽車原編號: setw(6) no \t 汽車原名稱 : setw(18) name \t setw(10) (onshelf==1? 在車庫 :已租 ) endl。 } //顯示 void disp(int k) { cout編號為 noendl。 templateclass T class biaozhiq { public: T abaso。 //汽車庫類,實現(xiàn)對汽車的管理,查找,刪除等 class CarDatabase { public: int top。 //汽車記錄 CarDatabase() { Car b。 fstream file(,ios::in)。b,sizeof(b))。 top++。 } ()。 } int addcar(int n,char *na)。i=top。amp。che[i]。 } //查找汽車 void cardata()。i=top。 } //輸出原汽車 void disp() { for (int i=0。i++) if (che[i].gettag()==0) che[i].disp()。 //析構(gòu)函數(shù),將 che[]寫到 文件中 }。 if (NULL==p) { top++。 return 1。 } //增加汽車 CarDatabase::~CarDatabase() { fstream file(,ios::out)。i=top。che[i],sizeof(che[i]))。 ofstream f(c:\\)。j=top。 fche[j].no。 f汽車 。 f\t\t\t。 else f已出租 endl。 char ame[20]。 Car *b。 cout\t\tendl。 cout\t\t| 2 更改汽車 |endl。 cout\t\t| 4 查找汽車 |endl。 cout\t\t| 6 刪除全部 |endl。 cout\t\tendl。 switch (choice) { case 39。: cout 新增 \n 輸入汽車編號 :endl。 try { if(carid=0)throw 1。 break。 cin ame。 break。239。 cin carid。 } catch(...) { cout輸入有誤,請重新輸入 。 } b=query(carid)。 coutendl。 } print(carid)。 coutendl。 try { if(carid=0)throw 1。 break。 cin ame。 cout修改成功 !endl。 case 39。: cout 刪除 \n 讀入汽車編號 :endl。
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1