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

正文內(nèi)容

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

2025-01-23 04:15本頁面
  

【正文】 g++。//將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。 break。 cinchoice。 int choice。 cout\t\t┃ 0 = 退出統(tǒng)計(jì) ┃endl。 cout\t\t┃ 2 = 按性別統(tǒng)計(jì) ┃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。 } if(pgetName()==name)//若刪除的結(jié)點(diǎn)為第一個(gè)結(jié)點(diǎn) { head=pgetNext()。 } else { cout沒學(xué)生可以刪除!endl。 if(thishead!=NULL) { cout請(qǐng)輸入要?jiǎng)h除學(xué)生的姓名:。 StudentNode* p=thishead。 coutendl。 } pvisitStudentNode()。 while(pgetNext()!=NULL) { pvisitStudentNode()。 coutsetw(5)編號(hào)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(){ 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 address,float EnScore){ ofstream fileIn。 } rearsetNext(new StudentNode(*p))。 rear=thishead。 if(thishead==NULL)//錯(cuò)誤: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)//錯(cuò)誤: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 : 2013318 10:20// Comment :鏈表類實(shí)現(xiàn)/////////////////////////////////////////////////////////////////include include include iostreaminclude fstreaminclude iomanipinclude ctimeinclude stringinclude cstringinclude using namespace std。//按年齡統(tǒng)計(jì) void bubbleSort()。//按專業(yè)統(tǒng)計(jì) 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。}//獲取姓名string StudentNode::getName(){ return thism_name。}//獲取下一個(gè)結(jié)點(diǎn)地址StudentNode* StudentNode:
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1