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

正文內(nèi)容

c學(xué)生成績管理系統(tǒng)課程設(shè)計報告(參考版)

2025-01-20 10:33本頁面
  

【正文】 } }}16。 break。 SaveAll(head,fname)。 ()。 /*case 7: if(head) { char fname[256]。 case 6: Statistic(head)。 case 5: OutputAll(head)。 head=DeleteStudent(head,num)。 cout請輸入學(xué)號:。 break。 OutputOne(t)。 if(t) { cout\t\t\t\ttname同學(xué)的成績表\n。 cinnum。 case 3: { int num。 head=Modify(head,num)。 cout請輸入學(xué)號:。 break。break。 ifstream in(fname)。 ()。 /*case 2: { char fname[256]。 case 1: head=Create(head,cin)。 cout\n\n謝謝您使用本系統(tǒng)!\n\n。cinselect。 while(1) { ShowMenu()。void main (void){ Student *head=0。 cout\t\t******歡迎使用學(xué)生成績管理系統(tǒng)******\n \t\t* *\n \t\t* *\n // \t\t* *\n \t\t* *\n \t\t* *\n \t\t* *\n \t\t* *\n \t\t* *\n // \t\t* *\n \t\t* *\n \t\t* *\n \t\t**********************************\n\n。delete p。 while(head) { p=head。 ave_eng/iendl。ave_math/i39。 coutave_cpp/i39。} cout\n\n\t\t各門課程平均成績表\n\n。 } if(!i) { cout\n\n沒有任何學(xué)生數(shù)據(jù)!\n。 i++。 ave_math+=headmath。 float ave_cpp=0, ave_math=0, ave_eng=0。 return head。 SetOrder(head)。delete p2。delete p1。p2num!=num) p1=p2,p2=p2next。 while(p2amp。 return head。 } SetOrder(head)。 else { p1next=p2next。 } p2ave=(p2cpp+p2math+p2eng)/3。 while(!Valid(p2cpp)||!Valid(p2math)||!Valid(p2eng) ) { cout\n\n成績數(shù)據(jù)非法!請重新輸入,格式為:\n 班級 姓名 學(xué)號 C++ 數(shù)學(xué) 英語 \n。 cout英語的成績 :endl。 cout數(shù)學(xué)的成績:endl。 coutC++的成績:endl。 cout學(xué)號:endl。 cout姓名:endl。*/ cout班級:endl。 if(p2) //修改指定結(jié)點數(shù)據(jù) { /*cout\n\n請輸入新數(shù)據(jù),格式為:\n 班級 姓名 學(xué)號 C++ 數(shù)學(xué) 英語 \n。amp。 } } friend Student *Modify(Student *head,int num) //修改學(xué)號為學(xué)生的數(shù)據(jù) { Student *p1=head,*p2=p1。 while(head) { OutputOne(head)。} cout\n\n\t\t學(xué)生成績表\n\n。 } friend void OutputAll(const Student*head) //輸出所有學(xué)生的數(shù)據(jù) { if(!head) {cout\n\n\t\t沒有任何學(xué)生數(shù)據(jù)!\n\n。\t39。\t39。\t39。\t39。\t39。\t39。 return head。amp。 //設(shè)置排名 return head。 }
點擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1