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

正文內(nèi)容

word版可編輯-c課程設(shè)計(jì)—手機(jī)通訊錄精心整理-文庫吧

2025-06-30 11:42 本頁面


【正文】 *********************endl。 cout * 插入成功! *endl。 cout *********************endl。 coutendl。 coutendl。 } else { cout *****************************************************endl。 cout * *endl。 cout * 本通訊錄最多存儲(chǔ)15條信息,已滿! *endl。 cout * 不能再插入,抱歉! *endl。 cout * *endl。 cout *****************************************************endl。 coutendl。 coutendl。 } } else { cout *****************************************************endl。 cout * 該電話號(hào)碼已經(jīng)存在,不能重復(fù)插入! *endl。 cout *****************************************************endl。 coutendl。 coutendl。 }}}運(yùn)行結(jié)果: 程序測(cè)試所遇到的問題在測(cè)試程序時(shí),發(fā)現(xiàn)了一下問題:1. 增加功能中,添加的條目不能保存在文檔中,在下一次打開此程序時(shí),前一次輸入的數(shù)據(jù)都沒有保存;2. 查看功能中,如果三個(gè)分類中都存在聯(lián)系人,當(dāng)要查看其中一個(gè)分類的聯(lián)系人時(shí),系統(tǒng)不能顯示所在分類的聯(lián)系人。只有只在一類中存入聯(lián)系人,當(dāng)要查看時(shí)才能顯示所要查看的條目。 3心得體會(huì)課程設(shè)計(jì)是一次將理論知識(shí)用于解決實(shí)際生活中所遇到的問題的實(shí)戰(zhàn),是一次理解和深化理論知識(shí),樹立知識(shí)服務(wù)生活,知識(shí)服務(wù)經(jīng)濟(jì)發(fā)展的理念。學(xué)習(xí)C++,讓我們加深對(duì)課程所學(xué)知識(shí)的理解,進(jìn)一步鞏固C++編程方法,從而具備解決綜合性實(shí)際問題的能力。通過這次的課程設(shè)計(jì),使我更深的認(rèn)識(shí)了C++程序設(shè)計(jì),也認(rèn)識(shí)到自己在C++的學(xué)習(xí)上有很多的不足,課本上學(xué)的知識(shí)基礎(chǔ),要從圖書館查閱資料以及上網(wǎng)查找才能補(bǔ)充自己的不足,只限于老師上課講的和課本的知識(shí)是不夠的。剛剛開始的時(shí)候不怎么發(fā)會(huì)編,在編寫過程中遇到了很多問題,后來自己找資料,和同組的同學(xué)討論,請(qǐng)教其他比較會(huì)點(diǎn)的同學(xué),大家互幫互助,不僅有利于在老師規(guī)定的時(shí)間內(nèi)完成任務(wù),也在同學(xué)間相互交流中提高了自己的水平,互助互利。 附錄參考文獻(xiàn): 《C++程序設(shè)計(jì)》 譚浩強(qiáng)編著 北京 清華大學(xué)出版社 《C++程序設(shè)計(jì)解題與上機(jī)指導(dǎo)》 譚浩強(qiáng)編著 清華大學(xué)出版社程序清單:include fstreaminclude cstringinclude iomanipinclude iostreamusing namespace std。int Count。 int ch。char phone[30]。class date //基類(抽象類){protected: int No。 //編號(hào) char Name[20]。 //姓名 char phonenum[30]。 //電話號(hào)碼 char information[30]。//個(gè)人信息 char [30]。 //郵箱地址 int type。 //類型 date *next。 //指針域public: date() //基類構(gòu)造 { next=0。 //指針域設(shè)置為空 } virtual ~date() //基類虛析構(gòu) { } virtual void Input()=0。 //從鍵盤輸入數(shù)據(jù) virtual void Output()=0。 //向屏幕輸出數(shù)據(jù) friend class operiate。}。class office:virtual public date //辦公類公有繼承基類{public: office() //構(gòu)造函數(shù),初始化部分?jǐn)?shù)據(jù) { } void Input() //鍵盤輸入數(shù)據(jù) { Count=Count+1。 No=Count。 { strcpy(phonenum,phone)。 cout 編號(hào): 。 coutNoendl。 cout 姓名: 。 cinName。 cout 電話號(hào)碼: 。coutphonenumendl。 cout 個(gè)人信息: 。cininformation。 cout 郵箱地址: 。 cin。 cout 信息類型: 。 type=ch。couttypeendl。 } } void Output() { coutsetw(5)setiosflags(ios::app)No。 coutsetw(8)setiosflags(ios::app)Name。 coutsetw(15)setiosflags(ios::app)phonenum。 coutsetw(10)setiosflags(ios::app)information。 coutsetw(20)setiosflags(ios::app)。 coutsetw(10)setiosflags(ios::app)辦公類endl。 } friend class operiate。}。class individual:virtual public date //個(gè)人類公有繼承基類{public: individual() //構(gòu)造函數(shù), { } void Input() //鍵盤輸入數(shù)據(jù) { Count=Count+1。 No=Count。 { strcpy(phonenum,phone)。 cout 編號(hào): 。 coutNoendl。 cout 姓名: 。 cinName。 cout 電話號(hào)碼: 。coutphonenumendl。 cout 個(gè)人信息: 。cininformation。 cout 郵箱地址: 。 cin。 cout 信息類型: 。 type=ch。couttypeendl。 } } void Output() { coutsetw(5)setiosflags(ios::app)No。 coutsetw(8)setiosflags(ios::app)Name。 coutsetw(15)setiosflags(ios::app)phonenum。 coutsetw(10)setiosflags(ios::app)information。 coutsetw(20)setiosflags(ios::app)。 coutsetw(10)setiosflags(ios::app)個(gè)人類endl。 } friend class operiate。 }。class business:virtual public date //商務(wù)類公有繼承基類{public: business() //構(gòu)造函數(shù), { } void Input() //鍵盤輸入數(shù)據(jù) { Count=Count+1。 No=Count。 { strcpy(phonenum,phone)。 cout 編號(hào): 。 coutNoendl。 cout 姓名: 。 cinName。 cout 電話號(hào)碼: 。coutphonenumendl。 cout 個(gè)人信息: 。cininformation。 cout 郵箱地址:
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1