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

正文內(nèi)容

高校學(xué)生綜合測(cè)評(píng)管理系統(tǒng)設(shè)計(jì)說(shuō)明書(已改無(wú)錯(cuò)字)

2023-05-13 04:53:06 本頁(yè)面
  

【正文】 } warn()。} void sum_paixu(int a,stu *t[50]){ if(a==0) { cout管理系統(tǒng)中沒(méi)有錄入數(shù)據(jù)或者數(shù)據(jù)已經(jīng)被刪除!endl。 } else { int p。stu b。 cout本系統(tǒng)所以學(xué)生數(shù)學(xué)排名如下:endl。 for(int x=0。xa1。x++) { p=x。 for(int y=x+1。ya。y++) { if((t[p]getsum())(t[y]getsum())) p=y。 if(p!=x) { b=*t[p]。 *t[p]=*t[x]。 *t[x]=b。 } } } for(int k=0。ka。k++) { coutk+1 。 t[k]print()。 } } warn()。} void scan(int a,stu *t[50]){ if(a==0) { cout管理系統(tǒng)中沒(méi)有錄入數(shù)據(jù)或者數(shù)據(jù)已經(jīng)被刪除!endl。 } else { cout本系統(tǒng)所有學(xué)生數(shù)據(jù)如下:endl。 for(int k=0。ka。k++) { coutk+1 。 t[k]print()。 } } warn()。} void search(int a,stu *t[50],char n[20]){ int j=0。 char w[20]。 do { int flag=0。 cout請(qǐng)輸入你要查詢的學(xué)生姓名endl。 cinn。 for(int j=0。ja。j++) { if(strcmp(n,(*t[j]).name)==0) { flag=1。 t[j]print()。 } } if(flag==0) cout對(duì)不起!您要查詢的學(xué)生不存在!endl。 cout您想繼續(xù)查詢嗎?(y/n)endl。 cinw。 do { if (!strcmp(w,y)) break。 else if(!strcmp(w,n)) {flag=1。break。} cout指令錯(cuò)誤!請(qǐng)重新輸入!endl。 cinw。 }while (1)。 if(flag==1) {flag =0。 break。} } while(1)。 } void search(int a,stu *t[50]){ double n。 int j=0。 char w[20]。 do { int flag=0。 cout請(qǐng)輸入你要查詢的學(xué)生學(xué)號(hào)endl。 cinn。 for(int j=0。ja。j++) { if(n==(*t[j]).num) { flag=1。 t[j]print()。 } } if(flag==0) cout對(duì)不起!您要查詢的學(xué)生不存在!endl。 cout您想繼續(xù)查詢嗎?(y/n)endl。 cinw。 do { if (!strcmp(w,y)) break。 else if(!strcmp(w,n)) {flag=1。break。} cout指令錯(cuò)誤!請(qǐng)重新輸入!endl。 cinw。 }while (1)。 if(flag==1) {flag =0。 break。} } while(1)。 }void change(int a,stu *t[50]){ char name[20],w[20]。char sex[10]。 double num, mat,chin,eng,ph,hi。bool flag2=0,flag=0。 do { cout請(qǐng)輸入您要修改的學(xué)生的姓名:endl。 cinname。 for(int h=0。ha。h++) { if(strcmp(name,t[h]name)==0) { flag2=1。 cout請(qǐng)輸入新的 學(xué)號(hào):endl。 cinnum。 cout請(qǐng)輸入新的 性別:endl。 cinsex。 cout請(qǐng)輸入新的 數(shù)學(xué)綜合測(cè)評(píng):endl。 cinmat。 cout請(qǐng)輸入新的 語(yǔ)文綜合測(cè)評(píng):endl。 cinchin。 cout請(qǐng)輸入新的 外語(yǔ)綜合測(cè)評(píng):endl。 cineng。 cout請(qǐng)輸入新的 物理綜合測(cè)評(píng):endl。 cinph。 cout請(qǐng)輸入新的 歷史綜合測(cè)評(píng):endl。 cinhi。 strcpy(t[h]sex,sex)。 t[h]num=num。 t[h]chinese=chin。 t[h]math=mat。 t[h]english=eng。 t[h]phisical=ph。 t[h]history=hi。 cout數(shù)據(jù)修改成功!。 } } if(flag2==0) cout您要修改的學(xué)生本來(lái)就不存在!請(qǐng)檢查重新輸入!endl。 cout想繼續(xù)修改嗎(y/n)endl。 cinw。 do { if (!strcmp(w,y)) break。 else if(!strcmp(w,n)) {flag=1。break。} cout指令錯(cuò)誤!請(qǐng)重新輸入!endl。 cinw。 }while (1)。 if(flag==1) {flag =0。 break。} }while(1)。 } void delete_stu(int a,stu *t[50]){ char name[20]。bool flag3=0,flag=0。char w[20]。 do{ cout請(qǐng)輸入您要?jiǎng)h除的學(xué)生姓名:endl。 cinname。 for(int h=0。ha。h++) { if(strcmp(name,t[h]name)==0) { flag3=1。 a。 do{ t[h]=t[h+1]。 h++。 }while(h=a)。 } } if(flag3==0) cout您要求刪除的對(duì)象本來(lái)就不存在!請(qǐng)檢查輸入的正確性!。 cout要繼續(xù)刪除嗎?(y/n)endl。 cinw。 do{ if (!strcmp(w,y)) break。 else if(!strcmp(w,n)) {flag=1。break。} cout指令錯(cuò)誤!請(qǐng)重新輸入!endl。 cinw。 }while (1)。 if(flag==1) {flag =0。 break。} }while(1)。 } //顯示函數(shù),刪除了原函數(shù)中的1,因?yàn)榕c0重復(fù) void show() { cout進(jìn)入華東交通大學(xué)的學(xué)生管理系統(tǒng),請(qǐng)選擇您需要的操作!endlendlendlendl。cout ※※※※※※※※※※※※※※※※※※※※※※※※※end
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1