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

正文內(nèi)容

c語言課程設(shè)計賓館住宿系統(tǒng)(編輯修改稿)

2025-07-26 07:04 本頁面
 

【文章內(nèi)容簡介】 ar * szError=Can39。t find the one。 char Buf[BUFSIZE]。 Pfangjian pRF。 Pkehu pCu。 Buf[0]=39。\039。 printf(%s,szName)。 scanf(%s,Buf)。 while(pRST){ pRF=pRSTfirst。 while(pRF){ pCu=pRFRecord。 while(pCu){ if(!strcmp(pCuname,Buf)){ zhanxiankehu(pCu)。 return 0。 } else pCu=pCunext。 } pRF=pRFnext。 }/*while*/ pRST=pRSTnext。 }/*while*/ printf(%s,szName)。 getch()。 return 0。}int shanchuzhonglei(Pfangjianzhonglei * pRST){ const char * szTree=Which type?。 const char * szError=Can39。t find the Type。 char Buf[BUFSIZE]。 Pfangjianzhonglei pRST2,pRST3。 int type。 Buf[0]=39。\039。 printf(%s,szTree)。 scanf(%d,amp。type)。 pRST2=(*pRST)。 if(pRST2zhonglei==type+39。039。){ (*pRST)=pRST2next。 free(pRST2)。 return 0。 }/*改變頭指針*/ pRST3=pRST2next。 while(pRST3){ if(pRST3zhonglei==type+39。039。){ pRST2next=pRST3next。 free(pRST3)。/*刪去pRST3*/ return 1。 } } printf(%s,szError)。 getch()。 return 0。}int shanchukefang(Pfangjianzhonglei * pRST_head){ const char * szTree=Which type?。 const char * szRoom=Please input the doorplate。 const char * szError[]={Can39。t find the Type, Can39。t find the Room}。 char Buf[BUFSIZE]。 Pfangjian pRF,pRF2。 Pfangjianzhonglei pRST。 int type。 pRST=(*pRST_head)。 Buf[0]=39。\039。 printf(%s,szTree)。 scanf(%d,amp。type)。 printf(%s,szRoom)。 scanf(%s,Buf)。 while(pRST){ if(pRSTzhonglei==type+39。039。){ pRF=pRSTfirst。 if(!strcmp(pRFnum,Buf)){ pRSTfirst=pRFnext。 pRSTshuliang。 free(pRF)。 return 0。 } pRF2=pRF。 pRF=pRFnext。 while(pRF){ if(!strcmp(pRFnum,Buf)){ pRF2next=pRFnext。 free(pRF)。 pRSTshuliang。 return 1。 }/*if*/ pRF2=pRF。 pRF=pRFnext。 }/*while*/ printf(%s,szError[1])。 return 0。 }/*if*/ pRST=pRSTnext。 }/*while*/ printf(%s,szError[0])。 getch()。 return 0。}int shanchukehu(Pfangjianzhonglei * pRST_head){ const char * szName=The name?。 const char * szError=Can39。t find the one。 char Buf[BUFSIZE]。 Pfangjian pRF。 Pkehu pCu,pCu2。 Pfangjianzhonglei pRST。 pRST=(*pRST_head)。 Buf[0]=39。\039。 printf(%s,szName)。 scanf(%s,Buf)。 while(pRST){ pRF=pRSTfirst。 while(pRF){ pCu=pRFRecord。 if(!strcmp(pCuname,Buf)){ pRFRecord=pCunext。 free(pCu)。 return 0。 } pCu2=pCu。 pCu=pCunext。 while(pCu){ if(!strcmp(pCuname,Buf)){ pCu2next=pCunext。 free(pCu)。 return 0。 }/*if*/ pCu2=pCu。 pCu=pCunext。 } pRF=pRFnext。 }/*while*/ pRST=pRSTnext。 }/*while*/ getch()。 return 0。}int xiugaikefangzhonglei(Pfangjianzhonglei pRST){ const char * szTree=Which type?。 const char * szRoom=Please input the doorplate。 const char * szError[]={Can39。t find the Type, Can39。t find the Room}。 char Buf[BUFSIZE]。 Pfangjian pRF。 int type。 Buf[0]=39。\039。 printf(%s,szTree)。 scanf(%d,amp。type)。 printf(%s,szRoom)。 scanf(%s,Buf)。 while(pRST){ if(pRSTzhonglei==type+39。039。){ pRF=pRSTfirst。 while(pRF){ if(!strcmp(pRFnum,Buf)){ xiugaikefangxinxi(pRF)。 return 1。 }/*if*/ pRF=pRFnext。 }/*while*/ printf(%s,szError[1])。 return 0。 }/*if*/ pRST=pRSTnext。 }/*while*/ printf(%s,szError[0])。 getch()。 return 0。}int xiugaikehu(Pfangjianzhonglei pRST){ const char * szName=The name?。 const char * szError=Can39。t find the one。 char Buf[BUFSIZE]。 Pfangjian pRF。 Pkehu pCu。 Buf[0]=39。\039。 printf(%s,szName)。 scanf(%s,Buf)。 while(pRST){ pRF=pRSTfirst。 while(pRF){ pCu=pRFRecord。 while(pCu){ if(!strcmp(pCuname,Buf)){ xiugaikehuxinxi(pCu)。 return 0。 } else pCu=pCunext。 } pRF=pRFnext。 }/*while*/ pRST=pRSTnext。 }/*while*/ printf(%s,szError)。 getch()。 return 0。}define GF_TITLES 8int huodekehuxinxi(Pkehu pCu){ int i。 char * Temp[GF_TITLES]。 char * szCustom[]={ the name, sex, ID, telephone, arrearage, money paid, receiver, time}。 for(i=0。iGF_TITLES。i++) Temp[i]=(char *)malloc(sizeof(char)*BUFSIZE)。 Get_Info(szCustom,Temp,GF_TITLES)。 strcpy(pCuname,Temp[0])。 pCusex=Temp[1][0]。 strcpy(pCuid,Temp[2])。 strcpy(pCutelephone,Temp[3])。 pCuyingshou=(float)atof(Temp[4])。 pCushishou=(float)atof(Temp[5])。 strcpy(pCushouyinyuan,Temp[6])。 strcpy(pCutime,Temp[7])。 for(i=0。iGF_TITLES。i++) free(Temp[i])。 return 0。}int huodekefangkehu(Pfangjian pRF,int num)/*獲取一個房間的客戶記錄*/{ char * szTitles[]={the ,th Custom}。 int i。 Pkehu pCu,pCu2。 pRFRecord=(Pkehu)malloc(sizeof(kehu))。 for(i=1,pCu=pRFRecord。i=numamp。amp。pCu。i++){ printf(%s%d%s\n,szTitles[0],i,szTitles[1])。 huodekehuxinxi(pCu)。 strcpy(pCuroom,pRFnum)。 getch()。 pCunext=(Pkehu)malloc(sizeof(kehu))。 pCu2=pCu。 pCu=pCunext。 } free(pCu)。 pCu2next=NULL。 return 0。}define GR_TITLES 3int huodekefangxinxi(Pfangjian pRF){ int i。 char *Temp[GR_TITLES]。 char * szRooms[]={the doorplate, How many Customs?, the Price}。 for(i=0。iGR_TITLES。i++){ Temp[i]=(char *)malloc(sizeof(char)*BUFSIZE)。 Temp[i][0]=39。\039。 } Get_Info(szRooms,Temp,GR_TITLES)。 strcpy(pRFnum,Temp[0])。 pRFtimes=atoi(Temp[1])。 pRFjiage=(float)atof(Temp[2])。 huodekefangkehu(pRF,pRFtimes)。 for(i=0。iGR_TITLES。i++) free(Temp[i])。 return 0。}int huodenkefang(Pfangjianzhonglei sub_tree,int num_room){ int i。 const char * szTitles[]={the ,th room}。 char buffer[BUFSIZE]。 Pfangjian pRF,pRF2。 su
點擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1