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

正文內(nèi)容

c語言學(xué)生教務(wù)管理系統(tǒng)代碼(參考版)

2024-08-31 16:52本頁面
  

【正文】 printf( 。 printf( 3:修改管理員的出生地\n)。 printf(,請(qǐng)選擇你要更新的內(nèi)容:1:修改管理員的姓名\n)。i++) { if(strcmp(manager[i].name,managername)==0) { printf(你所要修改的管理員的資料如下:\n\n)。fread(amp。 scanf(%s,managername)。 printf(歡迎進(jìn)入管理員修改系統(tǒng)\n\n)。 fp=fopen(,r)。 int i。 }}void changemanager(){ FILE *fp,*fp2。 fclose(fp1)。 scanf (%d,amp。 printf(%5s,%5s,%5s,%5s,%5s\n,manager[i].name,manager[i].managernumber,manager[i].birthplace,manager[i].managerID,manager[i].telephone)。 fwrite(amp。 printf(請(qǐng)輸入您要添加的管理員的聯(lián)系方式:\n)。 printf(請(qǐng)輸入您要添加的管理員的身份證號(hào):\n)。 printf(請(qǐng)輸入您要添加的管理員的出生地:\n)。 printf(請(qǐng)輸入您要添加的管理員的證件號(hào):\n)。 printf(請(qǐng)輸入您要添加的管理員的名字:\n)。 int i=0。}void addmanager(){ FILE *fp1。 default:break。 case 6: printf(退出\n)。 case 5: seekstudent()。 case 4: countstudent()。 case 3: deletestudent()。 case 2: changestudent()。 switch(i) { case 1: addstudent()。 scanf (%d,amp。 printf(5.學(xué)生查詢\n)。 printf(3.學(xué)生刪除\n)。 printf(1.學(xué)生添加\n)。} void mstudentmanage(){ int i。break。break。break。break。i)。 printf( 3:退出\n)。 printf( 1:按照學(xué)生的名字查詢\n)。 do { printf(歡迎進(jìn)入學(xué)生查詢系統(tǒng)\n\n)。 } while(ch2==1)。 scanf(%d,amp。i++) { if(strcmp(snumber,student[i].studentnumber)==0) printf(%5s%5s%5s%5s%5s\n,student[i].name,student[i].studentnumber,student[i].birthplace,student[i].studentID,student[i].telephone)。fread(amp。 fp2=fopen(,r)。 printf(請(qǐng)輸入學(xué)生的學(xué)號(hào):\n)。 int ch2。 int i。 } while(ch1==1)。 scanf(%d,amp。i++) { if(strcmp(sname,student[i].name)==0) printf(%5s%5s%5s%5s%5s\n,student[i].name,student[i].studentnumber,student[i].birthplace,student[i].studentID,teacher[i].telephone)。fread(amp。 fp1=fopen(,r)。 printf(請(qǐng)輸入學(xué)生的名字:\n)。 int ch1。 int i。 } } while(j!=0)。break。 return。 printf(現(xiàn)在學(xué)生的總量為:%d\n,n)。i++) { n=n+1。fread(amp。 case 1: { fp=fopen(,r)。 switch(j) { case 0:printf(退出\n)。 scanf(%d,amp。 do { printf(您現(xiàn)在進(jìn)行的是統(tǒng)計(jì)學(xué)生的操作\n\n)。 int i,j。 } } while(i!=0)。break。break。break。i)。 printf(返回按0\n)。 printf(按照學(xué)生的姓名刪除按1\n)。 } }}void deletestudent(){ int i。 fclose(fp2)。student[i],sizeof(struct student),1,fp)。student[i],sizeof(struct student),1,fp2)!=0。 for(i=0。) { fp=fopen(,w)。||ch2==39。 if(ch2==39。 scanf (%s,amp。\n)。 printf(確定刪除該教師?\n)。 fclose(fp)。i++) { if(strcmp(studentnumber,student[i].studentnumber)!=0) fwrite(amp。fread(amp。 fp2=fopen(,w)。 scanf(%s,studentnumber)。 char ch2。 int i。 printf(您已經(jīng)成功刪除\n)。 } fclose(fp)。i++) { fwrite(amp。fread(amp。 fp1=fopen(,r)。Y39。y39。ch1)。 printf( ,請(qǐng)輸入N.\n)。 printf( ,請(qǐng)輸入Y。 fclose(fp1)。student[i],sizeof(struct student),1,fp1)。student[i],sizeof(struct student),1,fp)!=0。 for(i=0。 fp=fopen(,r)。 printf(請(qǐng)輸入學(xué)生的名字:\n)。 char studentname[30]。}void snamedele(){ FILE *fp,*fp1。 getchar()。 fclose(fp2)。 fclose(fp2)。student[i],sizeof(struct student),1,fp)。student[i],sizeof(struct student),1,fp2)!=0。 for(i=0。 fp=fopen(,w)。 } fclose(fp)。 } fwrite(amp。break。 }break。 fwrite(amp。 scanf(%d,amp。 }break。 fwrite(amp。 case 4: { printf(請(qǐng)輸入新的身份證號(hào) \n)。student[i],sizeof(struct student),1,fp2)。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1