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

正文內(nèi)容

c學(xué)生成績(jī)管理系統(tǒng)課程設(shè)計(jì)報(bào)告-文庫(kù)吧資料

2025-03-29 00:21本頁(yè)面
  

【正文】 else{head=Create(head,cin)。 iny。 cout\t\t*****繼續(xù)添加請(qǐng)按1*******\n。 head=Insert(head,p)。 peng=eng。 pcpp=cpp。pnum=num。Valid(polity)) {*/p=new Student。Valid(sport)amp。Valid(eng)amp。Valid(math)amp。Valid(cpp)amp。 /*while(Valid(elec)amp。 cout英語(yǔ)的成績(jī) :endl。 cout數(shù)學(xué)的成績(jī):endl。 coutC++的成績(jī):endl。 cout學(xué)號(hào):endl。 cout姓名:endl。 //cout\n\n請(qǐng)輸入學(xué)生數(shù)據(jù):\n cout班級(jí):endl。cin) //cout\n\n請(qǐng)輸入學(xué)生數(shù)據(jù)(輸入成績(jī)非法,則結(jié)束),數(shù)據(jù)輸入格式為:\n //班級(jí) 姓名 學(xué)號(hào) C++ 數(shù)學(xué) 英語(yǔ) \n。 if(amp。 char name[8]。 Student *p。 } friend Student *Create(Student *head,istreamamp。p1next=p。pnext=0。p2=p2next。amp。 } else { p2=p1=head。 } else if(headave=pave) { pnext=head。 if(head==0) { head=p。head=headnext。 } friend void SetOrder(Student*head) { int order=1。 thisnext=next。ave=a。math=m。 strcpy(name,n)。public: Student() {} Student(int c1,int n1,char*n,float e1,float c2,float m,float e2,float s,float p,float a, int o,Student *next=NULL) { Class=c1。 int order。 char name[8]。C++語(yǔ)言程序設(shè)計(jì)課程設(shè)計(jì),我從中受益匪淺,并且對(duì)C++語(yǔ)言程序設(shè)計(jì)這一門(mén)課程有了更深一步的認(rèn)識(shí)。5在主界面選擇2可以修改學(xué)生的數(shù)據(jù)。 }程序測(cè)試結(jié)果:,按照提示進(jìn)行選擇.2. 首先選擇1,:3. 按1鍵可以添加多個(gè)學(xué)生成績(jī)的數(shù)據(jù),按2返回主界面。\t39。\t39。 couttC++\t數(shù)學(xué)\t英語(yǔ)\n。return。head=headnext。 ave_eng+=headeng。 while(head) { ave_cpp+=headcpp。 } } friend void Statistic(const Student *head) { int i=0。 while(head) { OutputOne(head)。} cout\n\n\t\t學(xué)生成績(jī)表\n\n。 } : friend void OutputAll(const Student*head) //輸出所有學(xué)生的數(shù)據(jù) { if(!head) {cout\n\n\t\t沒(méi)有任何學(xué)生數(shù)據(jù)!\n\n。 } else cout沒(méi)找到指定學(xué)生!\n。 head=Insert(head,p2)。 //將修改的指定結(jié)點(diǎn)從原鏈表上修改下來(lái),并重新降序插入原鏈表 if(p2==p1) head=Insert(p2next,p2)。 cinp2Classp2namep2nump2cppp2math p2eng。 cinp2eng。 cinp2math。 cinp2cpp。 cinp2num。 cinp2name。 cinp2Class。 cinp2Classp2namep2nump2cppp2math p2eng。p2num!=num) //尋找待修改的結(jié)點(diǎn) p1=p2,p2=p2next。 while(p2amp。head=headnext。 friend void SetOrder(Student*head) { int order=1。 return head。 SetOrder(head)。delete p2。delete p1。p2num!=num) p1=p2,p2=p2next。 while(p2amp。 } 。\t39。\t39。\t39。\t39。\t39。\t39。 return head。amp。 //設(shè)置排名
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1