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

正文內(nèi)容

數(shù)據(jù)結(jié)構(gòu)課程設(shè)計(jì)-宿舍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-wenkub.com

2024-09-04 02:34 本頁面
   

【正文】 break。 break。 break。 break。 break。 printf(\t please choice(09)\n)。 《 宿舍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 》 第 27 頁 共 27 頁 printf(\t\t7insert\n)。 printf(\t\t3 serch as studentnumber\n)。 printf(\n)。 } else printf(\n sorry,there is not the current of this people \n)。y39。 printf(\n are you sure to delete it?y/n?)。 if(!strcmp(namekey,personname)) { k=1。t open the file )。 person=(personnode *)malloc(sizeof(personnode))。 char m。 fprintf(fp,%10s%20s%50s\n,personname,personxh,personfh)。 printf(%10s%20s%50s\n,personname,personxh,personfh)。 fscanf(fp,%s %s %s\n,personname,personxh,personfh)。 if((fp=fopen(filename,r+))==NULL) { printf(\n can39。 《 宿舍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 》 第 24 頁 共 27 頁 personnode *person。 fclose(fp)。 exit(0)。 } void append() //插入函數(shù) 用于像已有文件插入一條新的學(xué)生信息記錄 { personnode *person。 printf(%10s%20s%50s\n,personname,personxh,personfh)。t open thefile)。 person=(personnode *)malloc(sizeof(personnode))。 fclose(fp)。 《 宿舍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 》 第 22 頁 共 27 頁 if(!strcmp(xhkey,personxh)) ////比較是否相同 相同則輸出結(jié)果 否則輸出未找到記錄 { printf(\n\n have got it,the current is: )。 if((fp=fopen(filename,rb))==NULL) { printf(\n can39。 personnode *person。 } } if(!k) printf(\n\n sorry,there is not the current of thiss people \n)。 } while(!feof(fp)) 《 宿舍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 》 第 21 頁 共 27 頁 { fscanf(fp,%s %s %s\n,personname,personxh,personfh)。 scanf(%s,namekey)。 char namekey[8]。 printf(%10s%20s%50s\n,personname,personxh,personfh)。 printf(\n******************************************************************\n)。 } if(a) break。d=0) a=1。 c=strlen(xh2)。} offset2=ftell(fp)。 fscanf(fp,%s%s%s\n,personname,personxh,personfh)。 fprintf(fp,%10s%20s%50s\n,personname,personxh,personfh)。 fprintf(fp,%10s%20s%50s\n,personname,personxh,personfh)。 fseek(fp,offset1,SEEK_SET)。 strcpy(xh2,xh3)。 strcpy(name1,name2)。 d=strcmp(xh1,xh2)。 strcpy(xh2,personxh)。 if(feof(fp)) break。 //獲取文件內(nèi)部當(dāng)前指針位置 fscanf(fp,%s%s%s\n,personname,personxh,personfh)。 //a 為循環(huán)結(jié)束判定變量 b, c, d 用于起泡排序時(shí)學(xué)號(hào)交換的替換 if((fp=fopen(filename,r+))==NULL) { printf(\n can39。 《 宿舍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 》 第 17 頁 共 27 頁 if((fp=fopen(filename,r))==NULL) { printf(\n can39。 char name1[8],name2[8],name3[8]。 exit(0)。 } void readfile() //文件讀取函數(shù) 用于打開已有的二進(jìn)制數(shù)據(jù)文件 {printf(\n please enter the fileroad:\n)。 while(strcmp(personname,)) //該循環(huán)用于控制 學(xué)生信息的錄入 當(dāng)輸入 時(shí) 學(xué)生信息錄入完畢 { scanf(%s %s,personxh,personfh)。 if((fp=fopen(filename,w+))==NULL) { printf(\n you have no enter the filename,can not font the file)。 //指向文件的指針 void creat() //創(chuàng)建新數(shù)據(jù)文件的函數(shù) 創(chuàng)建一個(gè)二進(jìn)制文件 用于存放學(xué)生數(shù)據(jù) { personnode *person。 //學(xué)號(hào) char fh[30]。通過實(shí)踐的學(xué)習(xí),我認(rèn)到學(xué)好計(jì)算機(jī)要重視實(shí)踐操作,不僅僅是學(xué)習(xí)數(shù)據(jù)結(jié)構(gòu),還是其它的課程,以及其它的計(jì)算機(jī)方面的知識(shí)都要重在實(shí)踐,所以后在學(xué)習(xí)過程中,我會(huì)更 加注視實(shí)踐操作,使自己更好地學(xué)好計(jì)算機(jī)。在課本上看到各種算法感覺很簡單,但是真正的讓自己去寫一個(gè)算法感覺很困難。如圖所示 : 圖 4 進(jìn)入頁面圖 《 宿舍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 》 第 11 頁 共 27 頁 按 0 就可以創(chuàng)建一個(gè)新的數(shù)據(jù)文件,如 C:\zjy 就是在 C 盤根目錄下創(chuàng)建一個(gè)名為 zjy 的文件,用來存放宿舍內(nèi)的學(xué)生
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1