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

正文內(nèi)容

c通訊錄管理系統(tǒng)-在線瀏覽

2024-11-03 22:23本頁(yè)面
  

【正文】 bottom。case 39。:coutchar name3[20]。if((name3))goto top。break。case 39。:coutselect3。139。coutcinname4。coutchar back_f1。if(back_f1==39。||back_f1==39。)goto top。break。239。coutno4。coutback_f2。”。R39。r39。elsegoto bottom。} break。339。coutback_w。R39。r39。elsegoto bottom。case 39。:coutselect4。139。coutchar back。if(back==39。||back==39。)goto top。break。239。cout} char back1。if(back1==39。||back1==39。)goto top。break。case 39。:()。cinback_r。R39。r39。elsegoto bottom。case 39。:coutchar select5。if(select5==39。||select5==39。)()。cinback_f。R39。r39。elsegoto bottom。} bottom:coutvoid inter::add(char no[13],char name[20],char address[100],char tel_no[12],char post_code[7],char e_mail[40]){ int x=1。iif(!strcmp(st[i].no,“0”)){strcpy(st[i].address,address)。strcpy(st[i].name,name)。strcpy(st[i].post_code,post_code)。x=0。} } //刪除聯(lián)系人void inter::del(char name[20]){ int x=1。iif(!strcmp(st[i].name,name)){ strcpy(st[i].address,“0”)。strcpy(st[i].name,“0”)。strcpy(st[i].post_code,“0”)。}else x=0。for(int i=0。} char select。switch(select){ case 39。:cout黑龍江工程學(xué)院char name1[30]。strcpy(st[x].name,name1)。break。239。cinno1。coutreturn back()。case 39。:coutchar address1[100]。strcpy(st[x].address,address1)。break。439。cinpost_code1。coutreturn back()。case 39。:coutchar tel_no1[12]。strcpy(st[x].tel_no,tel_no1)。break。639。cine_mail1。coutreturn back()。} } //按學(xué)號(hào)查詢(xún)聯(lián)系人黑龍江工程學(xué)院void inter::find1(char no[13]){ int x,y=1,z=1。iif(!strcmp(st[i].no,no)){x=i。}else y=0。}if(y==0)cout} //按姓名查詢(xún)聯(lián)系人void inter::find2(char name[20]){ int x,y=1,z=1。iif(!strcmp(st[i].name,name)){x=i。}else y=0。} if(y==0)coutvoid inter::read(){char name1[20]。黑龍江工程學(xué)院strcat(name1,“.txt”)。char line[120]。char name[120]。char post_code[120]。char e_mail[120]。(line,120)。kif(time==0){strcpy(no,line)。for(int i=0。:39。for(int j=0。i++。n39。} if(time==1){strcpy(name,line)。for(int i=0。:39。for(int j=0。i++。n39。} if(time== 2){ strcpy(address,line)。for(int i=0。:39。for(int j=0。i++。n39。}if(time==3){ strcpy(tel_no,line)。for(int i=0。:39。for(int j=0。i++。n39。}黑龍江工程學(xué)院if(time==4){strcpy(post_code,line)。for(int i=0。:39。for(int j=0。i++。n39。}if(time==5){strcpy(e_mail,line)。for(int i=0。:39。for(int j=0。i++。n39。}}} ()。黑龍江工程學(xué)院coutname。ofstream savefile(name)。isavefile savefile savefile savefile savefile savefile void inter::list1(){ for(int i=0。j{if(strcmp(st[j].no,st[j+1].no)0){char no[13]。char address[100]。char post_code[7]。strcpy(no,st[j].no)。strcpy(st[j+1].no,no)。strcpy(st[j].name,st[j+1].name)。strcpy(address,st[j].address)。strcpy(st[j+1].address,address)。黑龍江工程學(xué)院strcpy(st[j].tel_no,st[j+1].tel_no)。strcpy(post_code,st[j].post_code)。strcpy(st[j+1].post_code,post_code)。strcpy(st[j].e_mail,st[j+1].e_mail)。}} } for(int k=0。if(strcmp(st[k].no,“0”)){print(k)。}if(x==1){coutcout} } } //按姓名排序void inter::list2(){ for(int i=0。j{if(strcmp(st[j].name,st[j+1].name)0){char no[13]。char address[100]。char post_code[7]。strcpy(no,st[j].no)。strcpy(st[j+1].no,no)。strcpy(st[j].name,st[j+1].name)。strcpy(address,st[j].address)。strcpy(st[j+1].address,address)。strcpy(st[j].tel_no,st[j+1].tel_no)。strcpy(post_code,st[j].post_code)。strcpy(st[j+1].post_code,post_code)。strcpy(st[j].e_mail,st[j+1].e_mail)。}} } for(int k=0。if(strcmp(st[k].no,“0”)){print(k)。}if(x==1){coutcout} }黑龍江工程學(xué)院} //格式化void inter::format(){ for(int i=0。strcpy(st[i].e_mail,“0”)。strcpy(st[i].no,“0”)。strcpy(st[i].tel_no,“0”)。將文件讀入程序,是將文本文件中的信息讀入程序,進(jìn)行添加,修改,刪除,排序等功能。第六章 設(shè)計(jì)創(chuàng)新及心得黑龍江工程學(xué)院程設(shè)計(jì)是培養(yǎng)學(xué)生綜合運(yùn)用所學(xué)知識(shí) ,發(fā)現(xiàn),提出,分析和解決實(shí)際問(wèn)題,鍛煉實(shí)踐能力的重要環(huán)節(jié),,當(dāng)今計(jì)算機(jī)應(yīng)用在生活中可以說(shuō)得是無(wú)處不在。通過(guò)幾天的課程設(shè)計(jì)使我們懂得了理論與實(shí)際相結(jié)合是很重要的,只有理論知識(shí)是遠(yuǎn)遠(yuǎn)不夠的,只有把所學(xué)的理論知識(shí)與實(shí)踐相結(jié)合起來(lái),從理論中得出結(jié)論,才能真正為社會(huì)服務(wù),從而提高自己的實(shí)際動(dòng)手能力和獨(dú)立思考的能力。我做的是班級(jí)通訊錄的課程設(shè)計(jì),雖然是很簡(jiǎn)單的一個(gè)小的程序,但對(duì)我來(lái)說(shuō)卻是一個(gè)很大的困難。可是現(xiàn)在一切都晚了,還好時(shí)間還算是充裕,只好拿出書(shū)本重新復(fù)習(xí)一下。又經(jīng)過(guò)幾天的努力,終于把程序完成了,盡管程序還是有很多功能上的欠缺和漏洞,可我還是很高興的。在課程設(shè)計(jì)過(guò)程中,收獲知識(shí),提高能力的同時(shí),我也學(xué)到了很多人生的哲理,懂得怎么樣去制定計(jì)劃,怎么樣去實(shí)現(xiàn)這個(gè)計(jì)劃,并掌握了在執(zhí)行過(guò)程中怎么樣去克服心理上的不良情緒。A 辦公類(lèi);B 個(gè)人類(lèi); C 商務(wù)類(lèi);當(dāng)選中某類(lèi)時(shí),顯示出此類(lèi)所有數(shù)據(jù)中 的姓名和電話號(hào)碼)(2)增加功能:能錄入新數(shù)據(jù)(一個(gè)結(jié)點(diǎn)包括:姓名、電話號(hào)碼、分類(lèi)(可選項(xiàng)有:A 辦公類(lèi); B 個(gè)人類(lèi); C 商務(wù)類(lèi);當(dāng)錄入了重復(fù)的姓名和電話號(hào)碼時(shí),則提示數(shù)據(jù)錄入重復(fù)并取消錄入;當(dāng)通信錄中超過(guò)15條信息時(shí),存儲(chǔ)空間已滿(mǎn),不能再錄入新數(shù)據(jù);錄入的新數(shù)據(jù)能按遞增的順序自動(dòng)進(jìn)行條目編號(hào)。(4)修改功能:選中某個(gè)人的姓名時(shí),可對(duì)此人的相應(yīng)數(shù)據(jù)進(jìn)行修改。程序代碼: include include include using namespace std。public:void readal(string n,string t,string s){name=n。sort=s。}string gett(){return tel。}void display(){cout””}void show(){cout}void setn(){coutname。}void sets(){coutsort。sett()。}。base person[15]。//存入數(shù)據(jù)到文件中 增加void write(){ fstream out(“C: ”,ios::out)。i} //string庫(kù)內(nèi)函數(shù),(b,c), //即在字符串a(chǎn)中下標(biāo)為c的位置開(kāi)始尋找是否有字符串b的存void increase(){ string q,p,r。size++。string s。couts。i15)coutcoutcoutcoutcinx。coutbreak。coutbreak。string s。for(int i=0。coutx。y39。t} break。} } //選擇 查找void select(){string s。for(int i=0。}}//撥號(hào)void dail(){string s。for(int i=0。}void read(){}。size=0。inn。for(int i=0。//讀取數(shù)據(jù)person[size].readal(n,t,s)。inn。if(m=0amp。mcase 1: ()。case 2: ()。case 3: ()。case 4: ()。case 5: ()。case 6: ()。case 7: break。執(zhí)行操作: 第三篇:通訊錄管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)c++源代碼通訊錄管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)源代碼 include include include include using namespace std。//學(xué)號(hào) string name。char tel。char emal。}。Student *head=NULL。void LoadRecords(char *path)//從文本里面讀取記錄 { fstream infile(path,ios::in)。int t=iCount。iCount0。infilepnumpnamepMaths。pEnd=p。} else { pEndnext=p。pEndnext=NULL。} ()。} coutif(h==NULL){coutnumber=1。} coutvoid Print_search(Student *h)//查詢(xún) { if(h==NULL){coutnumber=i){ coutnumname agetel addremalnext。} else{pEndnext=s。pEndnext=NULL。while(1){ switch(n){ case 1: { Student *p=new Student。Add(p)。} case 2: Print(head)。case 3: Print_search(head)。case 4: { fstream outfile(“c: ”,ios::out)。} } ()。amp。} } }第四篇:通訊錄管理系統(tǒng)摘 要為了人們對(duì)他人信息的記憶方便而設(shè)計(jì),開(kāi)發(fā)的一套“通訊錄管理系統(tǒng)“軟件。得到軟件工程的綜合訓(xùn)練,提高解決實(shí)際問(wèn)題的能力。management。僅靠以前單獨(dú)的手工記錄已遠(yuǎn)遠(yuǎn)不能滿(mǎn)足當(dāng)前的需要。所以設(shè)計(jì)一個(gè)通訊錄管理系統(tǒng)管理各人的通訊信息是是非必要的。(1)數(shù)據(jù)包括:人名、工作單位、電話號(hào)碼和Email地址。(3)可增加或刪除記錄。(5)可按人名或電話號(hào)碼進(jìn)行查詢(xún)。該系統(tǒng)提供添加、刪除、修改和查找功能,其中按姓名方式刪除、修改,
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1