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

正文內(nèi)容

c課程設(shè)計(jì)---電話薄管理(完整版)

  

【正文】 ber。 char szTName[20]。這次VC++程序設(shè)計(jì)讓我對(duì)知識(shí)進(jìn)行了一次總結(jié)和鞏固,而通過(guò)這次做課程設(shè)計(jì),也使我明白了實(shí)踐的重要性,我現(xiàn)在也很愿意做一些實(shí)踐活動(dòng),來(lái)提高自己的能力。三 程序調(diào)試分析 在程序的調(diào)試過(guò)程中我遇到了種種困難,首先是出現(xiàn)的各種errors,一出現(xiàn)就是好多,我還要一個(gè)一個(gè)去找,鑒于程序中三個(gè)類的函數(shù)太多,查找起來(lái)十分不便。主函數(shù)中多次調(diào)用函數(shù),在主函數(shù)外完成各函數(shù)定義等。(2)增加紀(jì)錄修改功能,能選擇修改用戶的姓名,電話等信息。(3)增加錄入時(shí)間的顯示及儲(chǔ)存。我設(shè)計(jì)的管理項(xiàng)目主要包括以下幾個(gè):1.添加聯(lián)系人紀(jì)錄 2.顯示電話簿內(nèi)容3.根據(jù)姓名查詢電話簿數(shù)據(jù)4.根據(jù)姓名刪除電話簿數(shù)據(jù)5.根據(jù)姓名修改電話簿數(shù)據(jù)6.智能查找電話簿數(shù)據(jù)7.幫助0.退出系統(tǒng)主要功能都不在主函數(shù)里,而是用了類的知識(shí)在。最難搞的就是鏈表的內(nèi)容,一不小心就出現(xiàn)各種錯(cuò)誤。這次做課程我真的受益非淺,我以后會(huì)多參與這種活動(dòng)來(lái)鍛煉自己的。public: CTelRecord()。} char *GetDate(){return date。class CNode//定義節(jié)點(diǎn)類{private: CTelRecord*pData。node)。 //定義鏈表類為友員類}。 //刪除結(jié)點(diǎn)函數(shù) CNode *LookUp(CTelRecord amp。 //排序插入函數(shù) int load_list_from_file()。 strcpy(time,time)。 strcpy(szTName,firstname)。 else return 1。 else return 0。 pHeadpNext=NULL。 int end_loop = 0。) { new_rec_ptr=new CNode。 if(strlen(LName) != 0 amp。 strcpy(dd,)。 return 0。 // 從鏈表頭部開(kāi)始 (20,39。 while((current_ptr != NULL) amp。 } if(current_ptr != NULLamp。 } } else { cout \n沒(méi)有您所需要的數(shù)據(jù),沒(méi)有刪除任何記錄\n。 if( ode== pHead) { pHead=odepNext 。 delete ode。 char date_time[30]。 strcat(fullname, current_ptrGetData()GetFName())。 } while(current_ptr != NULL)。 if((YesNo == 39。 if (!!outfile) { current_ptr = pHead。\n39。 } else { cout 打開(kāi)文件失敗了……\n。 while(current_ptr!=NULL) { if(current_ptrGetData()LookChar(search_string)!=0) { if (i==0) cout姓名:電話號(hào)碼:錄入時(shí)間\n。 return current_ptr。cin choice2。case 2: cout 刪除文件數(shù)據(jù)\n。 cout 有的話關(guān)掉吧\n。 while(current_ptr!= NULL) { current_ptr = current_ptrpNext。 char last_name[20]。 //如果計(jì)數(shù)值達(dá)到20或者被拋棄的字符是39。 (last_name,20)。)。 ()。 (ch)。 } break。 case 4: char ch。\n39。current_ptrGetData()Compare(ctelrecord)!=0) {current_ptr=current_ptrpNext。 switch(ch1) { case 1: char number[20]。 ()。 CNode *pnode。\n39。 (last_name,20)。)。 ()。 break。||ch==39。 (lastname,20)。)。 current_ptrShowNode()。||ch==39。 ()。 CTelRecord ctelrecord(LName,)。 if(pHead != NULL) // 如果鏈表頭不為空 { write_list_to_file()。//定義一個(gè)鏈表類對(duì)象 cout 歡迎使用電話簿管理系統(tǒng)\n。 cout 1 添加電話薄記錄\n。 cout請(qǐng)輸入您的選擇:\n。 (choice)。 cout 3 刪除已有數(shù)據(jù)\n。 cout 指導(dǎo)老師:蔡驊 \n。 } break。 } break。 (20,39。)。 system(date /t)。 current_ptr=pHead。\n39。)。 system(date /t)。 pnodeInputData(ctelrecord)。 (c:\\,ios::in|ios::nocreate)。\n39。 cout 請(qǐng)輸入要添加的名字:\n 。 char first_name[20]。 (c:\\,ios::in|ios::nocreate)。 ()。 else { cout您要找的記錄:\n。 cout請(qǐng)輸入要修改的名字\n。 do { char lastname[20],firstname[20],dd[20],tt[20]。 system(date /t)。 } else coutyou can not add a node\n。 pnodeInputData(ctelrecord)。 fstream trf(c:\\,ios::in|ios::nocreate)。\n39。() 函數(shù)執(zhí)行終止; cout 請(qǐng)輸入要添加的名字:\n 。 char dd[20]。 return current_ptr_end。 system(cls)。 pause=getch()。 cout 當(dāng)然什么也沒(méi)有顯示\n。system(cls)。 i++。ctelrecord){ int i(0)。\n39。amp。) || (YesNo == 39。 (pause)。 strcat(date_time,current_ptrGetData()GetTime())。 if(current_ptr != NULLamp。 current_ptr=pHead。 } else { if(odepNext == NULL) { CNode* p_look = pHead。 system(date /t)。current_ptrGetData()!=NULL) {
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1