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

正文內容

大學c課程設計報告--學生成績管理系統(附源代碼(編輯修改稿)

2025-09-05 15:16 本頁面
 

【文章內容簡介】 udent::lookup(int n,string str){ student *p=curnode。 bool b。 //定義i=1, int i=1。 if(!(curnode=headnext)) { cout┏━━━━━━━┓endl。 cout┃!這是一個空表!┃endl。 cout┗━━━━━━━┛endl。 curnode=p。 cout 。system(pause)。 return。 } cout┏━━━━━┳━━━━━┳━━━┳━━━┳━━━┳━━━━┳━━━━┳━━┓endl。 cout┃ 學號 ┃ 姓名 ┃計算機┃ 英語 ┃ 數學 ┃ 總分 ┃ 平均分 ┃等級┃endl。 cout┣━━━━━╋━━━━━╋━━━╋━━━╋━━━╋━━━━╋━━━━╋━━┫endl。 while(curnode!=NULL) { switch(n) { case 1: b=curnodenumber==str。break。 case 2: b=curnodename==str。break。 default: return。 } if(b) { i=0。 cout┃leftsetw(10)curnodenumber。 cout┃leftsetw(10)curnodename。 cout┃leftsetw(6)curnodeputer。 cout┃leftsetw(6)curnodeEnglish。 cout┃leftsetw(6)curnodemath。 curnodesum_score()。 cout┃leftsetw(8)curnodesum。 curnodeave_score()。 cout┃leftsetw(8)curnodeave。 curnodegrade_score()。 cout┃leftsetw(4)curnodegrade┃endl。 cout┣━━━━━╋━━━━━╋━━━╋━━━╋━━━╋━━━━╋━━━━╋━━┫endl。 } curnode=curnodenext。 } //當i=1是代表沒有找到數據 if(i) { cout┣━━━━━┻━━━━━┻━━━┻━━━┻━━━┻━━━━┻━━━━┻━━┫endl。 cout┃沒有匹配的數據 ┃endl。 cout┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛endl。 } else cout┗━━━━━┻━━━━━┻━━━┻━━━┻━━━┻━━━━┻━━━━┻━━┛endl。 curnode=p。 cout 以上是本次查找的結果!endl。 cout 。system(pause)。}//////////////////////////////////////////刪除函數的實現void student::del_score(int n,string str){ student *p=curnode,*pw=head。 bool b。 //定義i=1, int i=1。 if(!(curnode=headnext)) { cout┏━━━━━━━┓endl。 cout┃!這是一個空表!┃endl。 cout┗━━━━━━━┛endl。 curnode=p。 cout 。system(pause)。 return。 } while(curnode!=NULL) { switch(n) { case 1: b=curnodenumber==str。break。 case 2: b=curnodename==str。break。 default: return。 } if(b) { i=0。 pwnext=curnodenext。 delete curnode。 curnode=pwnext。 } else { pw=curnode。 curnode=curnodenext。 } } //當i=1是代表沒有找到數據 if(i) { cout┏━━━━━━━┓endl。 cout┃沒有匹配的數據┃endl。 cout┗━━━━━━━┛endl。 } else { cout┏━━━━━━━┓endl。 cout┃ 數據刪除成功 ┃endl。 cout┗━━━━━━━┛endl。 } curnode=head。 while(curnodenext) { curnode=curnodenext。 } cout 。system(pause)。}//////////////////////////////////////排序函數的實現void student::positor(int n,int m){ if(headnext==NULL) { cout┏━━━━━━━━━━━┓endl。 cout┃!這是一個空表不能排序!┃endl。 cout┗━━━━━━━━━━━┛endl。 cout 。system(pause)。 return。 } if(headnextnext==NULL) { cout┏━━━━━━━━━━━┓endl。 cout┃!只有一條記錄不用排序!┃endl。 cout┗━━━━━━━━━━━┛endl。 cout 。system(pause)。 return。 } student *s,*p,*q,*r。 r=head。 s=headnext。 q=s。 p=qnext。 while(s!=NULL) { while(p!=NULL) { switch(n) { case 1: { if(m==1) { while(snumberpnumber) { qnext=pnext。 rnext=p。 pnext=s。 s=p。 p=qnext。 if(p==NULL) break。 } } else { while(snumberpnumber) { qnext=pnext。 rnext=p。 pnext=s。 s=p。 p=qnext。 if(p==NULL) break。 } } break。 } case 2: { if(m==1) { while(ssumpsum) { qnext=pnext。 rnext=p。 pnext=s。 s=p。 p=qnext。 if(p==NULL) break。 } } else { while(ssumpsum) { qnext=pnext。 rnext=p。 pnext=s。 s=p。 p=qnext。
點擊復制文檔內容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1