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

正文內(nèi)容

面向?qū)ο骳課程設(shè)計-文庫吧資料

2025-06-15 13:11本頁面
  

【正文】 生日 setw(15)專業(yè) setw(10)外語成績 setw(20)地址endl。(yearbornyear+1)10 ) { 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 17 flag++。//將 string 類年份轉(zhuǎn)換為字符串型再轉(zhuǎn)為整形 if( (yearbornyear+1)=0amp。 } else { while(follow!=NULL) { ( followgetBirthday(),0,4 )。//獲取當(dāng)前年份 int flag=0。 CTime currentTime = CTime::GetCurrentTime()。 string BornYear。 } if(choice==0) break。 break。 case 3: system(cls)。 slshowSex()。 break。 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 16 break。 cinchoice。 int choice。 cout\t\t┃ 0 = 退出統(tǒng)計 ┃ endl。 cout\t\t┃ 2 = 按性別統(tǒng)計 ┃ endl。 cout\t\t┣━━━━━━━━━━━━━━━━━━ ━━━┫ endl。 while(true) { cout\t\t┏━━━━━━━━━━━━━━━━━━━━━┓ endl。 StudentNode::getCount()。 endl。 } if(flag) cout━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ endl。 p=pgetNext()。 cout━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━ endl。 coutendl。 } while(p!=NULL) { if((pgetName()).find(name,0)!=string::npos)//string::nops=1 { flag++。 endl。 cinname。 int flag=0。 } } } //搜索學(xué)生信息 void StudentLinklist::searchStuNode() { string name。 } if(pgetName()==name) { followsetNext(pgetNext())。pgetName()!=name) { follow=p。 } else { while(pgetNext()!=NULLamp。 } 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 14 if(pgetName()==name)//若刪除的結(jié)點為第一個結(jié)點 { head=pgetNext()。 } else { cout沒學(xué)生可以刪除! endl。 if(thishead!=NULL) { cout請輸入要刪除學(xué)生的姓名: 。 StudentNode* p=thishead。 coutendl。 } pvisitStudentNode()。 while(pgetNext()!=NULL) { pvisitStudentNode()。 coutsetw(5)編號 setw(10)學(xué)生姓名 setw(5)性別 setw(10)生日 setw(15)專業(yè) setw(10)外語成績 setw(20)地址 endl。 coutendl。 if(p==NULL) { cout沒有學(xué)生記錄! endl。 } } //顯示所有學(xué)生信息 void StudentLinklist::visitAllNode() { 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 13 StudentNode *p。 } else { while(pngetNext()!=NULL) { pn=pngetNext()。 } //鏈接到鏈表尾 void StudentLinklist::addAtEnd(StudentNode *p) { StudentNode *pn=thishead。 (reinterpret_castchar *(p),sizeof(*p))。 } p=new StudentNode(name,sex,major,birthday,address,EnScore)。 (reinterpret_castchar *(p),sizeof(*p))。 if(thishead==NULL) { p=new StudentNode(name,sex,major,birthday,address,EnScore)。 StudentNode *p。 } //增加記錄到鏈表尾 void StudentLinklist::addAtEnd(string name,string sex,string major,string birthday,string 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 12 address,float EnScore) { ofstream fileIn。 } rearsetNext(new StudentNode(*p))。 rear=thishead。 if(thishead==NULL)//錯誤 :rear==NULL { thishead=new StudentNode(*p)。 } while(!(()==EOF))//peek()是取文件指針的位置 { StudentNode *p=new StudentNode。 if(()) { cout文件無法打開! endl。 cinfileName。 string fileName。 } //導(dǎo)入學(xué)生信息 void StudentLinklist::importStuNode() { StudentNode *rear=thishead。 } rearsetNext(new StudentNode(*p))。 rear=thishead。 if(thishead==NULL)//錯誤 :rear==NULL { thishead=new StudentNode(*p)。 } while(!(()==EOF))//peek()是取文件指針的位置 { StudentNode *p=new StudentNode。 if(()) { cout文件無法打開! endl。//rear=NULL。 } //有參構(gòu)造函數(shù) StudentLinklist::StudentLinklist(string name,string sex,string major,string birthday,string address,float EnScore) { thishead=new StudentNode(name,sex,major,birthday,address,EnScore)。 endif /////////////////////////////////////////////////////////////// // // FileName : // Creator : Berlin // Date : 2021318 10:20 // Comment :鏈表類實現(xiàn) // /////////////////////////////////////////////////////////////// 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 10 include include include iostream include fstream include iomanip include ctime include string include cstring include using namespace std。//按年齡統(tǒng)計 void bubbleSort()。//按專業(yè)統(tǒng)計 void showSex()。//保存學(xué)生信息 void showStuNode(StudentLinklist *sl)。//修改學(xué)生信息 void importStuNode()。//刪除學(xué)生記錄 void searchStuNode()。//讀取文件內(nèi)容創(chuàng)建鏈表 void visitAllNode()。//新增學(xué)生記錄 void addAtEnd(StudentNode *p)。 StudentLinklist(string name,string sex,string major,string birthday,string address,float EnScore)。 /**************************************** 學(xué) 生 鏈 表 類***************************************/ class StudentLinklist { private: StudentNode *head。 coutsetw(5)thism_nosetw(10)thism_namesetw(5)thism_sexsetw(10)thism_birthdaysetw(15)thism_majorsetw(10)thism_EnScoresetw(20)thism_addressendl。 } //獲取生日 string StudentNode::getBirthday() { return thism_birthday。 } //獲取專業(yè) string StudentNode::getMajor() { return thism_major。 } 福建工程學(xué)院 信息學(xué)院 面向?qū)ο笳n程設(shè)計(題目范例) 8 //
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1