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

正文內(nèi)容

c通訊錄管理系統(tǒng)(編輯修改稿)

2024-10-11 11:30 本頁面
 

【文章內(nèi)容簡介】 cin name。 fflush(stdin)。 cout 地址 : 。 cin addr。 fflush(stdin)。 cout 電話號 : 。 cin number。 fflush(stdin)。 cout 電子郵箱 : 。 cin 。 fflush(stdin)。 cout : 。 cin qq。 fflush(stdin)。 save_new()。 cout endl endl 新聯(lián)系人信息已經(jīng)保存好 !!!!! endl endl。 system(pause)。//請按任意鍵繼續(xù) .... } //刪除聯(lián)系 人 void book::del_person() { cout\t\t★★★★★★歡迎使用刪除菜單★★★★★★ endl。 12 ifstream inData(, ios::in)。 ofstream outData(, ios::out)。 if (!outData || !inData) { cout endl 對不起 !!!!找不到文件 !!!! endl。 system(pause)。 return。 } string sign。 cout endl 你要刪除輸入姓名或電話號 :。 cin sign。 string str1。 bool flag = true。 string str。 while (inData name number) { getline(inData, str)。 if ((sign==name) || (sign==number)) { cout endl 你想刪除的聯(lián)系人 : endl endl。 cout str1 endl。 cout setiosflags(ios::left) setw(10) name number str endl。 flag = false。 break。 } outData setiosflags(ios::left) setw(10) name//輸出數(shù) 13 據(jù)左對齊 number str endl。 } if (flag) { cout endl 對不起 !!!聯(lián)系人中沒你找的人 !!!! endl endl。 } else { while (getline(inData, str))//從輸入流讀取一 行字符串 { outData str endl。 } ()。 ()。 ofstream out(, ios::out)。 ifstream in(, ios::in)。 if (!out || !in) { cout endl 對不起不能打開文件 !!! endl endl。 system(pause)。 return。 } while (getline(in, str)) { out str endl。 } 14 ()。 ()。 } system(pause)。 } //顯示所有聯(lián)系人 void book::show_all() { cout\t\t\t歡 迎 使 用 endl。 ifstream inData(,ios::in)。 if (!inData) { cout endl 對不起 !!!!沒有找到文件 !!!!! endl。 system(pause)。 return。 } bool flag = true。 string record。 while (getline(inData, record)) { if (flag) { cout endl 聯(lián)系人詳單 : endl。 cout endl 姓名 電 話 號 地址 電子郵箱 endl。 } 15 cout record endl。 flag = false。 } if (flag) { cout endl 你的通迅錄中沒有聯(lián)系人 !!!!! endl endl。 } else { cout endl 所有聯(lián)系人已經(jīng)全部顯示出來 !!!!! endl endl。 } system(pause)。 } //修改信息 void book::alter() { cout\t\t★★★★★★歡迎使用修改菜單★★★★★★ endl。 ofstream outData(, ios::out)。 ifstream inData(, ios::in)。 // if (!outData || !inData) { cout endl 對不起 !!!!找不到文件 !!!! endl。 system(pause)。 return。 16 } string sign。 cout endl 你要修改輸入姓名或電話號 :。 cin sign。 string str1。 bool flag = true。 string str。 while (inData name number) { getline(inData, str)。 if ((sign==name)
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1