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

正文內容

c課程設計小區(qū)物業(yè)管理系統(tǒng)(編輯修改稿)

2024-10-10 23:31 本頁面
 

【文章內容簡介】 捷,不用重載 if(i==0) head=p1。 p2=new Zhuhu。 if(i==count1) p1next=NULL。 else {p1next=p2。 p1=p2。} 。} ()。//關閉文件,防止誤操作 Zhuhu *jianli(Zhuhu *head)。//建立數據庫函數聲明 void shuchu(Zhuhu *head)。 Zhuhu *charu(Zhuhu *head)。 Zhuhu *shanchu(Zhuhu *head)。 void zhixing(Zhuhu *head)。 void chaxun(Zhuhu *head)。//查詢功能函數 void tongji(Zhuhu *head)。 void paixu(Zhuhu *head)。 string con=1。 cout※※※※※※歡迎進入小區(qū)物業(yè)管理系統(tǒng)※※※※※※※※ endl。 if(count==0) 12 {cout_______________________________________________________________endl。 cout警告★★您的數據庫是空的,請首先建立數據庫 !!!!★★ endl。 cout_______________________________________________________________endl。} while(con!=0)//循環(huán)命令機制,這種比較方便,簡單 { cout[1]建立數據庫 endl。 cout[2]輸出所有信息 endl。 cout[3]添加住戶 endl。 cout[4]刪除住戶 endl。 cout[5]收費功能 endl。 cout[6]查詢功能 endl。 cout[7]統(tǒng)計空房 endl。 cout[8]排序功能 endl。 cout[0]退出系統(tǒng),保存數據 endl。 cout***********我的命令是 ********:。 cincon。 while(con!=1amp。amp。con!=2amp。amp。con!=3amp。amp。con!=4amp。amp。con!=5amp。amp。con!=6amp。amp。con!=7amp。amp。con!=8amp。amp。con!=0) { cout錯誤命令,重新輸入 :。 cincon。 } if(con==1) head=jianli(head)。 if(con==2) shuchu(head)。 if(con==3) 13 head=charu(head)。 if(con==4) head=shanchu(head)。 if(con==5) zhixing(head)。 if(con==6) chaxun(head)。 if(con==7) tongji(head)。 if(con==8) paixu(head)。 cout提示 [*操作完畢請選擇退出程序 (選擇命令 [0]),否則您的數據將不能保存 !*]endl。//必須退出 //務必退出程序,否則處理結果無法保存 }。 p1=head。 ofstream countfile(,ios::binary)。 if(!countfile) { cerropen error!endl。 abort()。 } countfilecount。//存儲人數到文件中 ()。 ofstream outfile(,ios::binary)。 if(!outfile) { cerropen error!endl。 abort()。 } 14 for(i=0。icount。i++)//存儲處理后的所有記錄 { ((char *)p1,sizeof(Zhuhu))。 p1=p1next。 } ()。 return 0。 } Zhuhu *jianli(Zhuhu *head) {Zhuhu *p1,*p2。 if(count0)//此時不允許錄入數據,只能使用添加功能錄入 {cout警告 !!您的數據庫已經存在 ,若要重新建立,請清除 zhuhu 文件內容并使count 文件歸 0endl。 cout_____________________________________________________________________endl。 } if(count==0) { p1=p2=new Zhuhu。 head=p1。 int n。 cout請輸入需要建立的住戶數: endl。 cinn。 for(int i=0。in。i++) { cout第 i+1位住戶信 息 endl。 p1input_message()。 p1=new Zhuhu。 if(i==n1) p2next=NULL。 else p2next=p1。 15 p2=p1。 } if(i==n) p2next=NULL。 count=n。 } return head。 } void shuchu(Zhuhu *head) {Zhuhu *p1。 p1=head。 while(p1!=NULL) { p1show_message()。 p1=p1next。 } 。} Zhuhu *charu(Zhuhu *head) { cout請輸入要添加住戶的詳細信息: endl。 Zhuhu *p0,*p1,*p2,*p3。 p3=p1=head。
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1