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

正文內容

學生籍貫信息記錄簿c語言課程設計畢業(yè)論文-資料下載頁

2025-06-19 01:56本頁面
  

【正文】 if(strstr(paddress,hh)!=NULL) { int a。 j++。 printf(\n 結 果 → 學號=%ld 姓名=%s ,pnumber,pname)。 printf(\n 地址=%s,paddress)。 printf(\n\n 操 作 → ⑴更改數(shù)據(jù) ⑵刪除數(shù)據(jù) ⑶查詢下一條數(shù)據(jù) ⑷返回上頁 ⑸退出程序\n\n 請您選擇操作:)。ssmz: scanf(%d,amp。a)。 switch(a) { void hjedit(struct hj *headd,struct hj *pp)。 void hjdelete(struct hj *headdd,struct hj *ss)。 case 1: hjedit(head,p)。 goto ssmmz。break。 case 2: hjdelete(head,p)。 goto ssmmz。break。 case 3: p=pnext。continue。 case 4: goto jjz。 case 5:exit(0)。 default:printf(\n 錯誤的選擇,請重新選擇:)。 goto ssmz。 } p=pnext。 } else p=pnext。 } if(j==0) { printf(\n\n\n沒有匹配的記錄 按任意鍵繼續(xù)!)。 getch()。 fclose(fp)。 goto ssmmz。 } else { int xx。 printf(\n\n查詢完畢! ⑴ 繼續(xù)查詢 ⑵ 返回上一級菜單 ⑶ 退出程序)。 printf(\n請選擇:)。 scanf(%d,amp。xx)。 if(xx==2) goto jjz。 else if(xx==3) exit(0)。 } goto ssmmz。jjz: 。 } }void allselect(char a[8])//全部查詢{ int n=0。 int k=0。 system(cls)。 printf(\n ★★★★★歡迎使用戶籍管理系統(tǒng)★★★★★\n)。 printf(\n ★★★籍貫方式信息★★★\n\n\n)。 struct hj *p。 struct hj *q=NULL,*head=NULL。 fp=fopen(a,rb)。 if(fp==NULL) { printf(\n對不起,沒有記錄無法查詢!)。 goto xxxx。 } rewind(fp)。 while(!feof(fp)) { n++。 p=(struct hj *)malloc(sizeof(struct hj))。 fread(p,sizeof(struct hj),1,fp)。 if(n==1) head=p。 else qnext=p。 q=p。 } qnext=NULL。 struct hj *h1,*p2,*q3,*r4,*s5。 h1=p2=(hj *)malloc(sizeof(struct hj))。 p2next=head。 while(p2next!=NULL) { q3=p2next。 r4=p2。 while(q3next!=NULL) { if(q3nextnumberp2nextnumber) r4=q3。 q3=q3next。 } if(r4!=p2) { s5=r4next。 r4next=s5next。 s5next=p2next。 p2next=s5。 } p2=p2next。 } head=h1nextnext。 free(h1)。 p=head。 while(p!=NULLamp。amp。n0) { n。 printf(\n學號=%ld 姓名=%s,pnumber,pname)。 printf(\n地址=%s,paddress)。 p=pnext。 }xxxx: printf(\n→顯示完畢←\n⑴ ↑返回上級菜單 ⑵ ↓退出程序 \n請 選 擇 :)。xxx: scanf(%d,amp。n)。 switch(n) { case 1:break。 case 2:exit(0)。 default:printf(\n錯誤的選擇,請重新選擇:)。 goto xxx。 }}void hjselect(void)//查詢編輯信息函數(shù){ cxbegin: int a。 system(cls)。 printf(\n ★★★★★歡迎使用戶籍管理系統(tǒng)★★★★★\n)。 printf(\n ★★★查詢編輯信息★★★\n\n\n)。 printf(\n 一 按學號方式查詢\n)。 printf(\n 二 按姓名方式查詢\n)。 printf(\n 三 按籍貫方式查詢\n)。 printf(\n 四 →顯示全部信息\n)。 printf(\n 五 ←返回上級菜單\n)。 printf(\n 請 選 擇 查 詢 方 式:)。cxmm: scanf(%d,amp。a)。 switch(a) { case 1: hjxmselect()。goto cxbegin。break。 case 2: hjxhselect()。goto cxbegin。break。 case 3: hjjgselect()。goto cxbegin。break。 case 4: allselect()。goto cxbegin。break。 case 5: break。 default:printf(\n錯誤的選擇,請重新選擇:)。 goto cxmm。 }}void hjde(void)//刪除界面函數(shù){cxxbegin: int a。 system(cls)。 printf(\n ★★★★★歡迎使用戶籍管理系統(tǒng)★★★★★\n)。 printf(\n ★★★刪除信息★★★\n\n\n)。 printf(\n 一 按學號方式刪除\n)。 printf(\n 二 按姓名方式刪除\n)。 printf(\n 三 按籍貫方式刪除\n)。 printf(\n 四 →刪除全部信息\n)。 printf(\n 五 ←返回上級菜單\n)。 printf(\n 請 選 擇 刪 除 方 式:)。cxxmm: scanf(%d,amp。a)。 int i=0。 switch(a) { case 1: hjxmselect()。goto cxxbegin。break。 case 2: hjxhselect()。goto cxxbegin。break。 case 3: zdyselect()。goto cxxbegin。break。 case 4: fp=fopen(,wb)。 if(fp!=NULL) i++。 fp=fopen(,wb)。 if(fp!=NULL) i++。 fp=fopen(,wb)。 if(fp!=NULL) i++。 if(i==3) { printf(\n 全部數(shù)據(jù)已經刪除!!!!!!敲任意鍵繼續(xù))。 getch()。 } goto cxxbegin。break。 case 5: break。 default:printf(\n錯誤的選擇,請重新選擇:)。 goto cxxmm。 }}//==============刪除函數(shù)接口===============void hjdelete(struct hj *headdd,struct hj *ss){ struct hj *q。 char d[5]=江蘇。 if(headdd==ss) { headdd=headddnext。 goto gogo。 } q=headdd。 while(q!=NULL) { if(qnextnumber==ssnumber) { break。 } q=qnext。 } qnext=ssnext。gogo: q=headdd。 fp=fopen(,wb)。 while(q!=NULL) { fwrite(q,sizeof(struct hj),1,fp)。 q=qnext。 } fclose(fp)。 q=headdd。 fp=fopen(,wb)。 while(q!=NULL) { if(strstr(qaddress,d)!=NULL) { fwrite(q,sizeof(struct hj),1,fp)。 } q=qnext。 } fclose(fp)。 q=headdd。 fp=fopen(,wb)。 while(q!=NULL) { if(strstr(qaddress,d)==NULL) { fwrite(q,sizeof(struct hj),1,fp)。 } q=qnext。 } fclose(fp)。}//===============編輯函數(shù)接口==============void hjedit(struct hj *headd,struct hj *pp){ int n=0。 struct hj *p,*p1,*p2。 char d[5]=江蘇。 printf(\n 輸 入 → 學號=)。 scanf(%ld,amp。ppnumber)。 printf(\n 姓名=)。 scanf(%s,ppname)。 printf(\n 地址=)。 scanf(%s,ppaddress)。 p=headd。 fp=fopen(,wb)。 while(p!=NULL) { fwrite(p,sizeof(struct hj),1,fp)。 p=pnext。 } fclose(fp)。 p1=headd。 fp=fopen(,wb)。 while(p1!=NULL) { if(strstr(p1address,d)!=NULL) { fwrite(p1,sizeof(struct hj),1,fp)。 } p1=p1next。 } fclose(fp)。 p2=headd。 fp=fopen(,wb)。 while(p2!=NULL) { if(strstr(p2address,d)==NULL) { fwrite(p2,sizeof(struct hj),1,fp)。 } p2=p2next。 } fclose(fp)。}/**************************主函數(shù)***********************/int main(int
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1