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

正文內(nèi)容

c通訊錄管理系統(tǒng)(參考版)

2024-11-20 17:02本頁面
  

【正文】 [1]《 C++程序設(shè)計(jì)》 譚浩強(qiáng) 清華大學(xué)出版社 [2].吳乃陵, C++程序設(shè)計(jì),高等教育出版社 [3].百度網(wǎng)絡(luò)資源( strlen_百度百科, C++語言程序設(shè)計(jì)等 ) 29 。但我還是有太多的不足,如知識掌握不全面,在今后一定要改正。 我不僅對 C++的操作有了進(jìn)一步的掌握 ,還掌握了程序設(shè)計(jì)的風(fēng)格及其注釋的格式。但是收獲還是不小的。 自己動手才能發(fā)現(xiàn)問題 ,解決問題。 } 調(diào)試分析 系統(tǒng)界面 通訊錄界面設(shè) 包括 添加聯(lián)系人 ,查詢 聯(lián)系人 , 刪除聯(lián)系人 , 修改信息 ,排序聯(lián)系人, 顯示所有聯(lián)系人 ,系統(tǒng)幫助,退出 等功能,如下圖: 24 添加記錄: 刪除記錄 25 查詢記錄 顯示所有記錄 修改記錄 26 排序記錄 系統(tǒng)幫助 27 退出 登陸 . 課程設(shè)計(jì)總結(jié) 剛開始拿到這個題目,感覺自己沒有能力做完它,無從下手,后 來在網(wǎng)上查閱了很多資料,才開始有點(diǎn)頭緒。 coutsetw(40)你還有 count次機(jī)會 endl。 } coutendl。 if(count==0) { coutendlendlsetw(50) 對不起,您沒有訪問權(quán)限 !endl。 break。\039。 i++。*39。 i=0。 cinusename。 while(1) { coutendlendl。 coutendlendl。 //string不能賦值 int i=0,count=3。 } else menu()。 cout\t﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌endl。 cout\t︰ ︰endl。 cout\t︰ ︰endl。 if(ch==Yes) { coutendlendlendlendlendl。 cinch。 cout\t**endl。 cout\t* 是 否 退 出 (Yes/No)? *endl。 cout\t**endl。 } //退出 void m_info::leave() { string ch=Yes。 system(pause)。 coutsetw(60)┃ 版本號 : ┃ endl。 coutsetw(60)┃ 指導(dǎo)老師 :郭永鋒 ┃ endl。 coutsetw(60)┃ 開發(fā)者 :常 婉娜 ┃ endl。 } //系統(tǒng)幫助 void m_info::help() { coutendlendlendl。 system(pause)。 } else coutendl所有的聯(lián)系人已經(jīng)輸出 !endl。 falg=false。 while(getline(inData,std))//?? { if(falg) { cout所有聯(lián)系人信息如下 :endl。 } bool falg=true。 system(pause)。 } //顯示所有信息 void m_info::show_users() { ifstream inData(,ios::in)。 system(pause)。i++) { cout 姓名 :vtp[i].name 編號 :vtp[i].num 分組vtp[i].group 固話 :vtp[i].hphone 手機(jī) :vtp[i].mphone 號 :vtp[i].qq 郵箱 :vtp[i]. 家庭住址 :vtp[i].addr endl。 for(i=1。 } sort((),(),p)。i()1。 i++。 while(()!=EOF) { inDatainfo[i].groupinfo[i].nameinfo[i].numinfo[i].hphoneinfo[i].mphoneinfo[i].qqinfo[i].info[i].addr 。 return。 if(!inData) { cout endl 對不起 ,不能打開文件 !!! endl endl。 int i=0。 m_info info[100]。 return 0。b ) { if( string() != string() ) return string() string()。 } //排序 bool p( const m_info amp。 } system(pause)。 ()。 } while (getline(in,str)) { outstrendl。 system(pause)。 ifstream in(, ios::in)。 ()。 } else { while (getline(inData, str)) { outDatastrendl。 } outDataname strendlendl。 flag = false。 cinaddr。 cin。 cinqq。 cinmphone。 cinhphone。 cingroup。 cinnum。 cinname。 cout endl請根據(jù)下面提示修改信息 :endl。 if (sign==name) { coutendl 你想修改的聯(lián)系人 : endlendl。 string str。 cinsign。 } string sign。 system(pause)。 19 ifstream inData(, ios::in)。 menu()。 } else menu()。//?? ()。 } while (getline(in, str)) { outstrendl。 system(pause)。//?? ifstream in(, ios::in)。Y39。 cinm。Y39。//關(guān)閉 文件 ()。 } else { while (getline(inData, str)) { outDatastrendl。//跳出循環(huán) } //程序沒有跳出出循環(huán)說明姓名不匹配,然后將這些人信息存入臨時(shí)文件 outDataname strendlendl。 18 flag=false。//讀取一行字符,然后文件指針指向下一行開頭 if(name==sign) { //如果刪除的姓名匹配則將這個人信息輸出 cout endl 您要刪除的聯(lián)系人信息 :endlendl。 string str。 cinsign。 } string sign。 system(pause)。//?? ifstream inData(, ios::in)。 } system(cls)。) { find_users()。 if(m==39。Y39。
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1