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

正文內(nèi)容

算法與數(shù)據(jù)結(jié)構(gòu)課程設(shè)計(jì)--通訊錄-免費(fèi)閱讀

  

【正文】 break。break。break。 printf(Input 07:)。 printf( * * * *\n)。 printf( * * (5)Backup the data * *\n)。) { printf( * * * * * * * * * * * * * * * * * * * * * * * * *\n)。i++) fwrite(amp。 if((fp1=fopen(txl2,rb))==NULL) { printf(Can not to open the txl.\n)。in1。 strcpy(stu[j1].city,stu[j].city)。amp。 char s[16]。i++) fwrite(amp。 if((fp1=fopen(txl,rb))==NULL) { 19 printf(Can not to open the txl.\n)。i++) if(strcmp(stu[i].name,s)==0) { printf (================================================================================\n)。 scanf(%s,s)。stu[i].zip)。 scanf(%s,stu[i].city)。 if((fp=fopen(txl,ab))==NULL) { printf(Can not to open the txl.\n)。 return。amp。 if((fp=fopen(txl,rb))==NULL) { printf(Can not to open the txl.\n)。 printf(Input the zip:\n)。 if(strcmp(stu[i].name,exit)==0) return。 if(n!=39。 unsigned long zip。加深了理解 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 語(yǔ)言版)》 ,清華大學(xué)出版社 . [2].嚴(yán)蔚敏,吳偉民 .《數(shù)據(jù)結(jié)構(gòu)題集( C 語(yǔ)言版)》 ,清華大學(xué)出版社 . [3] .《 DATA STRUCTURE WITH C++》 . William Ford,William Topp .清華大學(xué)出版社(影印版) . [4].譚浩強(qiáng) .《 c 語(yǔ)言程序設(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 月 . 13 致謝 在課程設(shè)計(jì)的過(guò)程中,我得到了老師和同學(xué)們的熱情幫助。 讀取備份文件里第 i 行的數(shù)據(jù) 將讀到的數(shù)據(jù)寫(xiě)入到原文件里 結(jié)束 8 各模塊功能的分析: ( 1)主函數(shù):可讓用戶(hù)選擇用系統(tǒng)的哪個(gè)功能,從而去連接到相應(yīng)的子函數(shù); ( 2)寫(xiě)入數(shù)據(jù):讓用戶(hù)輸入通訊錄里的內(nèi)容,并將內(nèi)容保存好; ( 3)讀取數(shù)據(jù):顯示通訊錄里已保存的數(shù)據(jù); ( 4)追加數(shù)據(jù):讓用戶(hù)在通訊錄原有數(shù)據(jù)中,再加上新的數(shù)據(jù); ( 5)查找數(shù)據(jù):通過(guò)用戶(hù)輸入需要找的名字來(lái)找到相關(guān)資料; ( 6)備份數(shù)據(jù):將已有數(shù)據(jù)進(jìn)行備份; ( 7)刪除數(shù)據(jù):讓用戶(hù)刪除想要?jiǎng)h除的資料; ( 9)還原數(shù)據(jù):使通 訊錄里的數(shù)據(jù)恢復(fù)到備份時(shí)的模樣。i數(shù)據(jù)的行數(shù); i++) 定義變量 int i。 本系統(tǒng)有分 7 個(gè)功能:( 1)寫(xiě)入數(shù)據(jù) ( 2)讀取數(shù)據(jù) ( 3)追加數(shù)據(jù) ( 4)查找數(shù)據(jù)( 5)備份數(shù)據(jù)( 6)刪除數(shù)據(jù) ( 7)還原數(shù)據(jù)。其主要利用結(jié)構(gòu)類(lèi)型,指針,數(shù)組,函數(shù)等 C 語(yǔ)言知識(shí)來(lái)實(shí)現(xiàn)。 讀取原文件里第 i 行的數(shù)據(jù) 將讀到的數(shù)據(jù)寫(xiě)入到新文件里 結(jié)束 6 圖 刪除數(shù)據(jù)流程圖 還原數(shù)據(jù) eback1(): 通過(guò)將已備份的數(shù)據(jù)復(fù)制到原來(lái)的這個(gè)文件里的方法來(lái)實(shí)現(xiàn)還原的功能; 流程圖如 圖 所示 : 判斷 strcmp(i 行數(shù)據(jù),輸入名字 )==0 嗎? Y for(j=i+1。 三、程序運(yùn)行測(cè)試 寫(xiě)入數(shù)據(jù)函數(shù)測(cè)試: 在主界面輸入: 1 屏幕輸出: Be careful!!!Do you sure to input?(y/n): 輸入: y 屏幕輸出: Input the name(Input exit return): 輸入: liang 屏幕輸出: Input the city: 輸入: zhuhai 屏幕輸出: Input the 輸入: 屏幕輸出: Input the phone: 輸入: 123456 屏幕輸 出: Input the zip: 輸入: 519055 屏幕輸出: Input the name(Input exit return): 輸入: exit 回到主界面; 讀取數(shù)據(jù)函數(shù)測(cè)試: 在主界面輸入: 2 屏幕輸出 如圖 所示 : 9 圖 讀取數(shù)據(jù) 按下任意鍵回到主函數(shù); 追加數(shù)據(jù)函數(shù)測(cè)試: 在主界面輸入: 3 屏幕輸出: Input the name(Input exit return): 輸入: li 屏幕輸出: Input the city: 輸入: zhuhai 屏幕輸出: Input the 輸入: 屏幕輸出: Input the phone: 輸入: 654321 屏幕輸出: Input the zip: 輸入: 519055 屏幕輸出: Input the name(Input exit return): 輸入: exit 回到主界面 , 輸入: 2 屏幕輸出 如圖 所示: 圖 追加數(shù)據(jù)顯示 按任意鍵回到主函數(shù); 10 查找數(shù)據(jù)函數(shù)測(cè)試: 在主界面輸入: 4 屏幕輸出: Input the name: 輸入: liang 屏幕輸出 如圖 所示 : 圖 顯示查找數(shù)據(jù)界面 按任意鍵返回主界面; 備份數(shù)據(jù)函數(shù)測(cè)試: 在主界面輸入: 5 屏
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1