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

正文內(nèi)容

物業(yè)管理系統(tǒng)c語言程序?qū)嵙?xí)報告(編輯修改稿)

2025-09-06 02:18 本頁面
 

【文章內(nèi)容簡介】 hao()。 break。 case 3 : return。 default: printf(輸入錯誤,請重新輸入!\n\n)。 } } while(1)。} void yezhumenu()//業(yè)主菜單函數(shù){ int choose。 do { printf(********************************業(yè)主信息編輯系統(tǒng)******************************\n)。 printf(\n)。 printf(* * * * * * * * * * * * * * * *〓請選擇〓(1~5)* * * * * * * * * * * * * * *\n)。 printf(* *\n)。 printf(* *\n)。 printf(* ⒈業(yè)主信息錄入; *\n)。 printf(* *\n)。 printf(* ⒉業(yè)主信息修改; *\n)。 printf(* *\n)。 printf(* ⒊業(yè)主信息刪除; *\n)。 printf(* *\n)。 printf(* ⒋業(yè)主信息瀏覽; *\n)。 printf(* *\n)。 printf(* ⒌返回上級菜單。 *\n)。 printf(* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n)。 printf(請輸入選項★№:)。 scanf(%d,amp。choose)。 //getchar()。 switch(choose) { case 1 :myAdd1()。 break。 case 2 :myReplace1()。 break。 case 3 :myDelete1()。 break。 case 4 :Display1()。 break。 case 5 : return。 default: printf(輸入錯誤,請重新輸入:\n)。 } } while(1)。 } void myAdd1()//錄入業(yè)主信息// { struct yezhu *p。 p=(struct yezhu *)malloc(sizeof(struct yezhu))。 printf(請錄入業(yè)主信息:\n)。 printf(ID:)。 scanf(%s,pid)。 printf(姓名:)。 scanf(%s,pname)。 printf(年齡:)。 scanf(%d,amp。page)。 printf(家庭成員數(shù):)。 scanf(%d,amp。pfamily_num)。 printf(所在樓號:)。 scanf(%d,amp。pfloor_num)。 printf(單元房間號:)。 scanf(%s,proom_num)。 printf(住宅面積:)。 scanf(%d,amp。parea)。 printf(入住時間:)。 scanf(%s,prz_time)。 myAdd3(p)。 save1(p)。 printf(錄入成功!\n)。 } struct yezhu *myAdd3(struct yezhu *p)//添加業(yè)主信息結(jié)點// { struct yezhu *t。 if(phead==NULL) { phead=p。 pnext=NULL。 } else { t=phead。 while(tnext!=NULL) t=tnext。 tnext=p。 pnext=NULL。 return phead。 } }void myReplace1()//修改業(yè)主信息{ struct yezhu *k。 char id[100]。 printf(請輸入要修改的業(yè)主ID:)。 scanf(%s,id)。 k=find1(id)。 if(k!=NULL) { printf(請輸入要修改的業(yè)主信息:\n)。 printf(ID:)。 scanf(%s,kid)。 printf(姓名:)。 scanf(%s,kname)。 printf(年齡:)。 scanf(%d,amp。kage)。 printf(家庭成員數(shù):)。 scanf(%d,amp。kfamily_num)。 printf(所在樓號:)。 scanf(%d,amp。kfloor_num)。 printf(單元房間號:)。 scanf(%s,kroom_num)。 printf(住宅面積:)。 scanf(%d,amp。karea)。 printf(入住時間:)。 scanf(%s,krz_time)。 save1(k)。 printf(修改成功!\n)。 } else { printf(無此業(yè)主ID!\n)。 return。 } } struct yezhu *find1(char *id)//通過ID查找業(yè)主信息// { struct yezhu *p。 p=phead。 while(p!=NULL) { if(strcmp(pid,id)==0) return p。 p=pnext。 } return NULL。}void Display1(){ struct yezhu *p。 p=phead。 while(p!=NULL) { printf(\n\n)。 printf(ID:%s\n,pid)。 printf(姓名:%s\n,pname)。 printf(年齡:%d\n,page)。 printf(家庭成員數(shù):%d\n,pfamily_num)。 printf(所在樓號:%d\n,pfloor_num)。 printf(單元房間號:%s\n,proom_num)。 printf(住宅面積:%d\n,parea)。 printf(入住時間:%s\n,prz_time)。 printf(\n\n)。 p=pnext。 } }void myDelete1(){ struct yezhu *p,*pp。 struct wuye *k,*kk。 char id[100]。 pp=phead。 kk=pHead。 printf(請輸入要刪除人的ID:)。 scanf(%s,id)。 p=find1(id)。 k=find2(id)。 if(p!=NULL) { if(p==phead) { phead=pnext。 free(p)。 } else { while(ppnext!=p) pp=ppnext。
點擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1