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

正文內(nèi)容

面向?qū)ο骳課程設(shè)計-閱讀頁

2025-06-27 13:11本頁面
  

【正文】 tTime獲取當(dāng)前時間 int year = ()。 if(follow==NULL) { cout沒有學(xué)生統(tǒng)計個屁! endl。//提取 出生日期 的前 四個字符(年份) bornyear=atoi( const_castchar*(()))。amp。 if(flag==1) { cout年齡為 010之間的學(xué)生: endlendl。 cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 } follow=followgetNext()。 } else { cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 flag=0。//提取 出生日期 的前四個字符(年份) bornyear=atoi( const_castchar*(()))。amp。 if(flag==1) { cout年齡為 1020之間的學(xué)生: endlendl。 cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 } follow=followgetNext()。 } else { cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 flag=0。//提取 出生日期 的前四個字符(年份) bornyear=atoi( const_castchar*(()))。amp。 if(flag==1) { cout年齡為 2030之間的學(xué)生: endlendl。 cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 } follow=followgetNext()。 } else { 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 19 cout━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 flag=0。//提取 出生日期 的前四個字符(年份) bornyear=atoi( const_castchar*(()))。 if(flag==1) { cout年齡為 30及以上的學(xué)生: endlendl。 cout━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 } follow=followgetNext()。 } else { cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 StudentLinklist StuMenList。 StudentLinklist StuGirlList。 if(thishead!=NULL) { while(follow!=NULL) { if(followgetSex()==男 ) {//構(gòu)建男鏈表 if(!=NULL) { followMensetNext(new StudentNode(*follow))。 followMen=followMengetNext()。//復(fù)制構(gòu)造 followMen=。//followGirl=new StudentNode(*follow)。 } else { =new StudentNode(*follow)。 } } follow=followgetNext()。//指針回到起始位置 followGirl=。 return。//標記 while(followMen!=NULL) { flag++。 coutsetw(5) 編號 setw(10) 學(xué)生姓名 setw(5) 性別setw(10)生日 setw(15)專業(yè) setw(10)外語成績 setw(20)地址endl。 } followMenvisitStudentNode()。 } if(flag!=0) { cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 while(followGirl!=NULL) { flag++。 coutsetw(5) 編號 setw(10) 學(xué)生姓名 setw(5) 性別setw(10)生日 setw(15)專業(yè) setw(10)外語成績 setw(20)地址endl。 } followGirlvisitStudentNode()。 } if(flag!=0) { cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 StudentNode *p=thishead。 string _name。 string _birthday。 string _address。 if(thishead!=NULL) { cout請輸入要修改學(xué)生姓名 :endl。 } else { cout學(xué)生記錄為空,沒有可修改的學(xué)生。 return。 cout姓名: 。 cout性別: 。 cout生日: 。 cout專業(yè): 。 cout家庭住址: 。 cout外語成績: 。 psetStudentNode(_name,_sex,_major,_birthday,_address,_EnScore,pgetNext())。 flag=1。 } else p=pgetNext()。 } //保存學(xué) 生信息 void StudentLinklist::saveStuNode() { string fileName。 cout請輸入保存路徑包括文件名 endl。 ofstream saveFile。 if(()) { cout文件無法打開! endl。 } if(thishead!=NULL) { while(p!=NULL) { ( reinterpret_castchar *(p) , sizeof(*p) )。 } cout保存成功!! endl。 } ()。//終止指針 StudentNode *ptmp。 StudentNode *p2。 p1setNext(thishead)。 while(rear!=thishead) { ptmp=thishead。 p1getNext()getNext()!=rear 。 p1getNext()setNext( p2getNext() )。 p1setNext( p2 )。 } } rear=ptmp。 thishead = thishead getNext() getNext()。 p1=NULL。 } 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 25 // Course Design__Student : 定義控制臺應(yīng)用程序的入口點。 /************************************ 主 函 數(shù)****************************************/ int _tmain(int argc, _TCHAR* argv[]) { StudentLinklist *sl=new StudentLinklist。 string sex。 string major。 float EnScore。 slcreateList()。 cout\t\t┃ 學(xué)生信息管理系統(tǒng) ┃ endl。 cout\t\t┃ 1 = 增加學(xué)生記錄 6 = 修改學(xué)生信息 ┃ endl。 cout\t\t┃ 3 = 查看學(xué)生信息 8 = 統(tǒng)計學(xué)生信息 ┃ endl。 cout\t\t┃ 5 = 搜索學(xué)生信息 0 = 退出管理系統(tǒng) ┃ endl。 cout請你輸入你的選擇: endl。 switch(choice) 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 26 { case 0: break。 cout姓名: 。 cout性別: 。 cout生日: 。 cout專業(yè): 。 cout家庭住址: 。 cout外語成績: 。 sladdAtEnd(name,sex,major,birthday,address,EnScore)。 slvisitAllNode()。 case 2: system(cls)。 sldeleteStuNode()。 break。 slvisitAllNode()。 case 4: slimportStuNode()。 case 5: system(cls)。 break。 slmodifyStuNode()。 case 7: system(cls)。 slvisitAllNode()。 case 8: system(cls)。 break。 slsaveStuNode()。 default: cout輸入錯誤,請重新輸入 endl。 } delete sl。 } //////////////////////////////////////////////////////////完結(jié) ////////////////////////////////////////////////////////////////////
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1