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

正文內(nèi)容

c汽車租賃管理系統(tǒng)-展示頁

2024-09-16 23:33本頁面
  

【正文】 oid CDatabase::disp() { for (int i=0。 return 1。 custom[top].addcustomer(n,na)。 } } // 析構(gòu)函數(shù),將 custom[]寫入 int CDatabase::addcustomer(int n,char *na) { Customer *p=query(n)。 fcustom[j].borcar[j]。 f\t\t\t。 f姓名 。j++) { if(custom[j].gettag()==0) f編號 custom[j].no。 for (int j=0。 else ()。i++) if(custom[i].gettag()==0) ((char *)amp。 for (int i=0。 } ()。 top++。s,sizeof(s))。 fstream file(,ios::in)。 CDatabase::CDatabase() { Customer s。 //客戶庫管理 ~CDatabase()。 } } } //輸出客戶原有信息 int customernum()。amp。i=top。 } //按編號查找 void disp()。custom[i]。amp。i=top。 } //刪除所有客戶信息 int addcustomer(int n,char *na)。 //客戶記錄 CDatabase()。 } //輸出原客戶信息 //客戶類庫,實(shí)現(xiàn)建立客戶的個人資料 class CDatabase { public: int top。i++) { if (borcar[i]!=0) { cout borcar[i] |。 for (int i=0。 cout name。 cout\t原客戶姓名 :。 coutsetw(5)。 } } cout]endl。iMaxcar。 cout 出租汽車編號 :[。 cout setw(10) 。 } //歸還操作 void Customer::disp() { cout setw(5)。 } else continue。i++) { if(borcar[i]==carid) { borcar[i]=0。 } } } //出租操作 int Customer::retcar(int carid) { for(int i=0。i++) { if (borcar[i]==0) { borcar[i]=carid。 } } //增加客戶 void Customer::borrowcar(int carid) { for (int i=0。iMaxcar。 strcpy(name,na)。 void Customer::addcustomer(int n,char *na) { tag=0。 //輸出客戶信息 virtual void print()。 //出租操作 int retcar(int carid)。 } //設(shè)置刪除標(biāo)記 void addcustomer(int n,char *na)。 } //獲取客戶編號 void setname(char na[]) { strcpy(name,na)。 } //獲取姓 名 int gettag() { return tag。 //客戶姓名 int borcar[Maxcar]。 //編號 }。 //每位客戶最多租五輛汽車 class biaozhi { public: int tag。 //最多的客戶 const int Maxc=100。include iostream include iomanip include include string include fstream //輸入 /輸出文件流類 using namespace std。 const int Maxr=100。 //最多的汽車 const int Maxcar=5。 //刪除標(biāo)記 1:已刪 0:未刪 int no。 //客戶類 ,實(shí)現(xiàn)對客戶的信息的描述 class Customer :public biaozhi { public: char name[20]。 //所租汽車 Customer() {} //構(gòu)造函數(shù) char *getname() { return name。 } //獲取刪除標(biāo)記 int getno() { return no。 } //設(shè)置姓名 void delcar() { tag=1。 //增加客戶 void borrowcar(int carid)。 //歸還操作 void disp()。 //輸出原客戶信息 }。 no=n。 for (int i=0。i++) { borcar[i]=0。iMaxcar。 return。iMaxcar。 return 1。 } return 0。 cout no。 cout name 。 for (int i=0。i++) { if (borcar[i]!=0) { cout borcar[i] |。 } //輸出客戶信息 void Customer::print() { cout 原客戶編號 :。 cout no。 cout setw(10)。 cout \t 租租汽車編號 :[。iMaxcar。 } } cout]endl。 //客 戶記錄指針 Customer custom[Maxc]。 //構(gòu)造函數(shù),將 讀到 custom[]中 void clear() { top=1。 //增添客戶信息 Customer *query(int customerid) { for (int i=0。i++) { if(custom[i].getno()==customeridamp。 custom[i].gettag()==0) { return amp。 } } return NULL。 //輸出所有客戶信息 void print(int customerid) { for (int i=0。i++) { if(custom[i].getno()==customeridamp。 custom[i].gettag()==0) { custom[i].print()。 //得到客戶編號 void customerdata()。 // 析構(gòu)函數(shù),將
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1