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

正文內(nèi)容

程序設(shè)計(jì)基礎(chǔ)課程設(shè)計(jì)--23根火柴游戲、通訊錄管理-閱讀頁(yè)

2025-01-28 16:04本頁(yè)面
  

【正文】 想修改的聯(lián)系人的姓名:endl。 for(int i=0。i++){ if(con[i].name==name){ cout聯(lián)系人姓名 性別 年齡 電話號(hào)碼 號(hào)碼 生日 地址 郵政編碼 電子郵箱endl con[i].name con[i].sex con[i].age con[i].phonenumber con[i].qqnumber con[i].birthday con[i].address con[i].postalcode con[i].endl。 cout姓名 性別 年齡 電話號(hào)碼 號(hào)碼 生日 地址 郵政編碼 電子郵箱endl。 switch(number){ case 1:cout請(qǐng)輸入新的姓名:endl。 con[i].name=name。 break。 cinsex。 cout修改完成??!endl。 case 3:cout請(qǐng)輸入新的年齡:endl。 con[i].age=age。 break。 cinphonenumber。 cout修改完成!!endl。 case 5:cout請(qǐng)輸入新的號(hào)碼:endl。 con[i].qqnumber=qqnumber。 break。 cinbirthday。 cout修改完成??!endl。 case 7:cout請(qǐng)輸入新的地址 :endl。 con[i].address=address。 break。 cinpostalcode。 cout修改完成?。ndl。 case 9:cout請(qǐng)輸入新的電子郵箱 :endl。 con[i].=。 break。 break。endl。 cinnumber2。 default : break。 int i。 cout請(qǐng)輸入想要?jiǎng)h除的聯(lián)系人姓名:endl。 for(i=0。i++) if(con[i].name==name){ for(int j=i。j++) con[j]=con[j+1]。 cout該聯(lián)系人已被刪除。 } if(con[i].name!=name) cout該聯(lián)系人沒有記錄,請(qǐng)重新輸入。}void contacts::out()//退出{ int number,number2。 cout1繼 續(xù) 操 作;endl。endl。 switch(number){ case 1:{ cout***************(1)添加聯(lián)系人***************endl ***************(2)顯示聯(lián)系人***************endl ***************(3)找查聯(lián)系人***************endl ***************(4)修改聯(lián)系人***************endl ***************(5)刪除聯(lián)系人***************endl ***************(6) 退 出 ***************endl。 switch(number2){ case 1: ()。 case 2: ()。 case 3: ()。 case 4: ()。 case 5: ()。 case 6: ()。 default: couterror!!endl。 } break。 cout********************歡迎你的使用!********************endl。 exit(0)。 }} void main()//主函數(shù){ contacts data。 do{ cout***********************************通訊錄**********************************endl。 cout***************************************************************************endl。 cout****** 1添加聯(lián)系人 2顯示聯(lián)系人 ******endl。 cout****** 3查找聯(lián)系人 4修改聯(lián)系人 ******endl。 cout****** 5刪除聯(lián)系人 6退出 ******endl。 cout****** ******endl。 cout***************************************************************************endl。 cout注意:輸入生日時(shí),例如1990年5月1日出生的,輸入時(shí)要輸入19900501endl。 cinnumber。//添加聯(lián)系人 break。//顯示聯(lián)系人 break。//查找聯(lián)系人 break。//修改聯(lián)系人 case 5: ()。 case 6: ()。 default: cout!!!!!error!!!!!endl。 } }while(number
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1