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

正文內(nèi)容

算法與數(shù)據(jù)結(jié)構(gòu)課程設(shè)計(jì)--通訊錄(留存版)

2025-08-03 10:51上一頁面

下一頁面
  

【正文】 感謝我的指導(dǎo)老師滕永晨 老師 在這炎炎烈日時(shí)不畏辛苦給我們指導(dǎo)修正, 并引導(dǎo)我參閱相關(guān)的書籍和資料; 尤其感謝我的數(shù)據(jù)結(jié)構(gòu)王連相老師在以往的基礎(chǔ)課學(xué)習(xí)中為 我打下良好的基礎(chǔ),這是我這次課程設(shè)計(jì)能夠順利完成的前提。j數(shù)據(jù)的行數(shù); j++) 開始 定義變量 int i,j,n=0。它的主要任務(wù)是對(duì) 學(xué)生 信息進(jìn)行管理,如 學(xué)生 信息的輸入、查詢、修改、增加、刪除,迅速準(zhǔn)確地完成各種 學(xué)生 信息的統(tǒng)計(jì) 和查詢。i數(shù)據(jù)的行數(shù); i++) 定義變量 int i。 unsigned long phone。 scanf(%s,stu[i].name)。 int i。 if((fp=fopen(txl,rb))==NULL) { printf(Can not to open the txl.\n)。 else { printf(Input the city:\n)。 printf(Input the name:\n)。 int i。 int i,j,n=0。j++) 20 { strcpy(stu[j1].name,stu[j].name)。 int i。 for(。 printf( * * (0)Exit * *\n)。 case 3: append1()。exit()。 case 0: printf(* * * * * * * * * * * * * * * * * * ** *\n)。 scanf(%d,amp。 printf( * * (6)Delete the data * *\n)。stu[i],sizeof(struct address),1,fp)。i++) { fwrite(amp。iN。stu[i],sizeof(struct address),1,fp2)。 printf( Name City Email Phone Zip \n)。 fwrite(amp。 return。iN。 scanf(%ld,amp。y39。沒有他們的幫助,我就無法順利完成自己的課題。 讀取原文件里第 i 行的數(shù)據(jù) 將讀到的數(shù)據(jù)寫入到新文件里 結(jié)束 6 圖 刪除數(shù)據(jù)流程圖 還原數(shù)據(jù) eback1(): 通過將已備份的數(shù)據(jù)復(fù)制到原來的這個(gè)文件里的方法來實(shí)現(xiàn)還原的功能; 流程圖如 圖 所示 : 判斷 strcmp(i 行數(shù)據(jù),輸入名字 )==0 嗎? Y for(j=i+1。 本系統(tǒng)有分 7 個(gè)功能:( 1)寫入數(shù)據(jù) ( 2)讀取數(shù)據(jù) ( 3)追加數(shù)據(jù) ( 4)查找數(shù)據(jù)( 5)備份數(shù)據(jù)( 6)刪除數(shù)據(jù) ( 7)還原數(shù)據(jù)。 讀取備份文件里第 i 行的數(shù)據(jù) 將讀到的數(shù)據(jù)寫入到原文件里 結(jié)束 8 各模塊功能的分析: ( 1)主函數(shù):可讓用戶選擇用系統(tǒng)的哪個(gè)功能,從而去連接到相應(yīng)的子函數(shù); ( 2)寫入數(shù)據(jù):讓用戶輸入通訊錄里的內(nèi)容,并將內(nèi)容保存好; ( 3)讀取數(shù)據(jù):顯示通訊錄里已保存的數(shù)據(jù); ( 4)追加數(shù)據(jù):讓用戶在通訊錄原有數(shù)據(jù)中,再加上新的數(shù)據(jù); ( 5)查找數(shù)據(jù):通過用戶輸入需要找的名字來找到相關(guān)資料; ( 6)備份數(shù)據(jù):將已有數(shù)據(jù)進(jìn)行備份; ( 7)刪除數(shù)據(jù):讓用戶刪除想要?jiǎng)h除的資料; ( 9)還原數(shù)據(jù):使通 訊錄里的數(shù)據(jù)恢復(fù)到備份時(shí)的模樣。 unsigned long zip。 if(strcmp(stu[i].name,exit)==0) return。 if((fp=fopen(txl,rb))==NULL) { printf(Can not to open the txl.\n)。 return。 scanf(%s,stu[i].city)。 scanf(%s,s)。 if((fp1=fopen(txl,rb))==NULL) { 19 printf(Can not to open the txl.\n)。 char s[16]。 strcpy(stu[j1].city,stu[j].city)。 if((fp1=fopen(txl2,rb))==NULL) { printf(Can not to open the txl.\n)。) { printf( * * * * * * * * * * * * * * * * * * * * * * * * *\n)。 printf( * * * *\n)。break。break。break。 printf(Input 07:)。 printf( * * (5)Backup the data * *\n)。i++) fwrite(amp。in1。amp。i++) fwrite(amp。i++) if(strcmp(stu[i].name,s)==0) { printf (================================================================================\n)。stu[i].zip)。 if((fp=fopen(txl,ab))==NULL) { printf(Can not to open the txl.\n)。amp。 printf(Input the zip:\n)。 if(n!=39。加深了理解 TC 的內(nèi)部功能及內(nèi)部實(shí)現(xiàn),培養(yǎng)實(shí)踐動(dòng)手能力和程序設(shè)計(jì)能力的目的 12 參考文獻(xiàn) [1].嚴(yán)蔚敏,吳偉民 .《數(shù)據(jù)結(jié)構(gòu)( C 語言版)》 ,清華大學(xué)出版社 . [2].嚴(yán)蔚敏,吳偉民 .《數(shù)據(jù)結(jié)構(gòu)題集( C 語言版)》 ,清華大學(xué)出版社 . [3] .《 DATA STRUCTURE WITH C++》 . William Ford,William Topp .清華大學(xué)出版社(影印版) . [4].譚浩強(qiáng) .《 c 語言程序設(shè)計(jì)》 , 清華大學(xué)出版社 . [5]. 張銘 ,劉曉丹譯 .數(shù)據(jù)結(jié)構(gòu)與算法分析( Java 版) A Practical Introduction to Data Structures and Algorithm Analysis Java Edition Clifford A. Shaffer ,電子工業(yè)出版社 2021 年 1 月 .
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1