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

正文內(nèi)容

ucdos操作系統(tǒng)下c語言課程設(shè)計-學(xué)籍成績管理系統(tǒng)(編輯修改稿)

2025-09-03 12:00 本頁面
 

【文章內(nèi)容簡介】 請正確輸入1到2:)。 } if((fp=fopen(temper,r))==NULL) { printf(無法打開這個文件\n)。 exit(0)。 } printf(關(guān)鍵字:)。 scanf(%s,temp2)。 printf(\n查詢到的信息\n)。 handline()。 while(!feof(fp)) { =ftell(fp)。 fscan()。 if(i==39。139。) strcpy(temp,)。 else if(i==39。239。) strcpy(temp,)。 if(!strcmp(temp,temp2)amp。amp。!=0) { =1。 print()。 statistics()。 if(w!=2) { break。 } } } tothandline()。 if(==0) printf(\n\n查找不到需要的信息)。 fclose(fp)。 return res。} */int find(int a){ int r=0。 char temp[20],temp2[50]。 char i。 position=0。 /* rewind(fp)。 */ /*復(fù)位函數(shù)*/ printf(\n\n\n 請選擇您需要搜索的關(guān)鍵字:\n1序號,2姓名(請輸入1到2):)。 while(1) { scanf(%c,amp。i)。 if(i==39。139。||i==39。239。) break。 else printf(請正確輸入1到2:)。 } if((fp=fopen(temper,r+))==NULL) { printf(無法打開這個文件\n)。 exit(0)。 } printf(關(guān)鍵字:)。 scanf(%s,temp2)。 printf(\n查詢到的信息\n)。 handline()。 while(!feof(fp)) { position=ftell(fp)。 fscan()。 if(i==39。139。) strcpy(temp,)。 else if(i==39。239。) strcpy(temp,)。 if(a==1amp。amp。!strcmp(temp,temp2)amp。amp。==1) { r=1。 print()。 break。 } else if(a==2amp。amp。!strcmp(temp,temp2)amp。amp。==0) { r=1。 print()。 break。 } else if(a==3amp。amp。!strcmp(temp,temp2)amp。amp。==1) { r=1。 print()。 } } if(r==0) printf(\n\n查找不到需要的信息)。 /* position=ftell(fp)。 */ fclose(fp)。 return(r)。}void change() /*修改*/{ int i=0,r=0。 cleardevice()。 clrscr()。 printf(\16[{400|400@32,32=11(8)15 更新內(nèi)容}])。 r=find(1)。 if((fp=fopen(temper,r+))==NULL) { printf(無法打開這個文件\n)。 exit(0)。 } if(r!=0) { printf(\n輸入您希望更新的內(nèi)容\n1 序號,2 姓名,3 數(shù)學(xué)成績,4 物理成績,5 化學(xué)成績,6 英語成績,7 網(wǎng)絡(luò)成績,8 所有信息,0 退出?\n輸入0到8:)。 scanf(%d,amp。i)。 if(i==0) choose()。 scan(i)。 rewind(fp)。 /*復(fù)位函數(shù)*/ fseek(fp,position,0)。/*轉(zhuǎn)到這一行的起始位置*/ fprint()。 handline()。 print()。 } printf(\t\t\t按任意鍵繼續(xù))。 getch()。 fclose(fp)。}void search(){ clrscr()。 find(3)。 getch()。}void delete() /*刪除*/{ int r=0。 char ch。 cleardevice()。 clrscr()。 printf(\16[{400|400@32,32=11(8)15 刪除}])。 r=find(1)。 if((fp=fopen(temper,r+))==NULL) { printf(無法打開這個文件\n)。 exit(0)。 } if(r!=0) { printf(請確定是否刪除?。ㄝ斎隮或者N))。 while(1) { scanf(%c,amp。ch)。 if(ch!=39。Y39。amp。amp。ch!=39。y39。amp。amp。ch!=39。n39。amp。amp。ch!=39。N39。) printf(\n請輸入Y或N?。?。 else break。 } if(ch==39。Y39。||ch==39。y39。) { =0。 rewind(fp)。 /*復(fù)位函數(shù)*/ fseek(fp,position,0)。/*轉(zhuǎn)到這一行的起始位置*/ fprint()。 printf(刪除成功!)。 } else printf(刪除取消。)。 } printf(\t\t\t按任意鍵繼續(xù))。 getch()。 fclose(fp)。}void nodelete() /*恢復(fù)*//*{ int r=0。 char ch。 cleardevice()。 clrscr()。 printf(\16[{400|400@32,32=11(8)15 恢復(fù)}])。 if((fp=fopen(temper,r+))==NULL) { printf(無法打開這個文件\n)。 } else { printf(\n 以下是已經(jīng)刪除的數(shù)據(jù):\n)。 handline()。 while(!feof(fp)) { fscan()。 if(==0) print()。 } } fclose(fp)。 printf(\n)。 printf(***************數(shù) 據(jù) 回 收 站***************\n)。 printf(\n)。 r=find(2)。 if(r==1) { printf(確定要恢復(fù)嗎?(輸入(Y/N)):)。 while(1) { scanf(%c,amp。ch)。 if(ch!=39。Y39。amp。amp。ch!=39。y39。amp。amp。ch!=39。n39。amp。amp。ch!=39。N39。) printf(\n請輸入Y或N?。?。 else break。 } if(ch==39。Y39。||ch==39。y39。) { =1。 rewind(fp)。 fseek(fp,position,0)。 fprint()。 printf(恢復(fù)成功!)。 } else printf(操作取消!)。 } printf(\t\t\t按任意鍵繼續(xù))。 getch()。 fclose(fp)。}*/{ int r=0。 char ch。 cleardevice()。 clrscr()。 printf(\16[{400|400@32,32=11(8)15 恢復(fù)}])。 if((fp=fopen(temper,r+))==NULL) { printf(無法打開這個文件\n)。 } else { printf(\n 以下是已經(jīng)刪除的數(shù)據(jù):\n)。 handline()。 while(!feof(fp)) { fscan()。 if(==0) print()。 } } fclose(fp)。 printf(\n)。 printf(***************數(shù) 據(jù) 回 收 站***************\n)。 printf(\n)。 r=find(2)。 if((fp=fopen(temper,r+))==NULL) { printf(無法打開這個文件\n)。 exit(0)。 } if(r!=0) { printf(確定要恢復(fù)嗎?(輸入(Y/N)):)。 while(1) { scanf(%c,amp。ch)。 if(ch!=39。Y39。amp。amp。ch!=39。y39。amp。amp。ch!=39。
點擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1