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

正文內(nèi)容

c語言電話簿管理系統(tǒng)vc60運行通過(已改無錯字)

2022-12-27 00:57:30 本頁面
  

【正文】 )。 p=Locate(temp,n,ch,phonenum)。 //利用 Locate函數(shù)查找符合 ch內(nèi)容的記錄,并將記錄的下標(biāo)返回 if(p!=1) { printheader()。 printf(|%10d|%15s|%15s|%20s|\n,temp[p].num,temp[p].name,temp[p].phonenum,temp[p].address)。 printf(|||||\n)。 printf(press any key to return )。 getch()。 } else { printf(The record is not found\n)。 getch()。 } } else { Wrong()。 getch()。 } } /****************刪除電話簿記錄 *******************************/ //調(diào)用 Del(TELEBOOK temp[],int n)函數(shù)刪除電話簿記錄的功能??梢愿鶕?jù) //電話簿姓名刪除,也可以按電話號碼刪除。 /***************************************************************/ int Del(TELEBOOK temp[],int n) { int select。 char ch[20],ch0。 int p,i。 if(n==0) { printf(\n=====no telephone num record.\n)。 getch()。 return n。 } printf(刪除之前的電話簿記錄為 :\n)。 Disp(temp,n)。 printf(\n======1 DElete by name =====2 Delete by phone\n)。 scanf(%d,amp。select)。 if(select==1) //按姓名刪除 { stringinput(ch,15,請輸入要刪除的電話簿記錄的姓名: )。 p=Locate(temp,n,ch,name)。 if(p!=1) { printf(\n要刪除的電話簿記錄為 :\n)。 printheader()。 printf(|%10d|%15s|%15s|%20s|\n,temp[p].num,temp[p].name,temp[p].phonenum,temp[p].address)。 printf(\n確認(rèn)要刪除? y/n:)。 fflush(stdin)。 scanf(%c,amp。ch0)。 if(ch0==39。y39。||ch0==39。Y39。) { for(i=p+1。in。i++) temp[i1]=temp[i]。 n。 printf(\nDeleted success!\n)。 saveflag=1。 getch()。 } else { getch()。 return n。 } } else { printf(\n所刪除的聯(lián)系人不存在 .\n)。 getch()。 } } else if(select==2) { stringinput(ch,15,請輸入要刪除的電話簿記錄的電話號碼: )。 p=Locate(temp,n,ch,phonenum)。 if(p!=1) { printf(\n要刪除的電話簿記錄為 :\n)。 printheader()。 printf(|%10d|%15s|%15s|%20s|\n,temp[p].num,temp[p].name,temp[p].phonenum,temp[p].address)。 for(i=p+1。in。i++) temp[i1]=temp[i]。 n。 printf(\nDeleted success!\n)。 saveflag=1。 getch()。 } else { printf(\n所刪除的聯(lián)系人不存在 .\n)。 getch()。 } } else Wrong()。 return n。 } /****************修改電話簿記錄 *******************************/ //調(diào)用 Modify(TELEBOOK temp[],int n)函數(shù)完成修改電話簿記錄的功能 //先按聯(lián)系人對電話簿記錄進(jìn)行定位查找,然后提 示用戶修改除編號之外的 //的其他值,記錄編號不能修改 /***************************************************************/ void Modify(TELEBOOK temp[],int n) { char ch[20]。 int p。 if(n==0) { printf(\n=====no telephone num record.\n)。 getch()。 return 。 } stringinput(ch,15,請輸入要查找的聯(lián)系人姓名 :)。 p=Locate(temp,n,ch,name)。 if(p!=1) { printf(修改前的聯(lián)系人的信息為: \n)。 printheader()。 printf(|%10d|%15s|%15s|%20s|\n,temp[p].num,temp[p].name,temp[p].phonenum,temp[p].address)。 printf(\n請輸入要修改的聯(lián)系人的相關(guān)信息: \n)。 stringinput(temp[p].name,15,請輸入修改后的姓名 :)。 stringinput(temp[p].phonenum,15,請輸入修改后的電話號碼 :)。 stringinput(temp[p].address,20,請輸入修改后的地址: )。 saveflag=1。 } else { printf(您所要修改的聯(lián)系人不存在 ,請返回。 )。 getch()。 } } /***************
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1