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

正文內(nèi)容

課程設計選題管理系統(tǒng)設計-資料下載頁

2024-12-16 21:24本頁面

【導讀】{ "error_code": 17, "error_msg": "Open api daily request limit reached" }

  

【正文】 )。 if(!myfile) { cout該文件不能打開 !endl。 abort()。 } int count=n。 myfilecountendlendl。 for(int i=0。i=count。i++) { myfilestu[i].stuid stu[i].stuname stu[i].sex stu[i].age stu[i].clas stu[i].specialty stu[i].couid stu[i].couname stu[i].keyword stu[i].technology endl。 } ()。 } //************************************************* //從文件中讀數(shù)據(jù) int Guanli::read() { fstream myfile。 (,ios::in|ios::binary)。 if(!myfile) { cout該文件不能打開 !endl。 abort()。 } int count。 (0)。 myfilecount。 for(int i=0。i=count。i++) { myfilestu[i].stuidstu[i].stunamestu[i].sexstu[i].agestu[i].classtu[i].specialtystu[i].couidstu[i].counamestu[i].keywordstu[i].technology。 coutendl。 } ()。 return count。 } //************************************************* //添加學生信息 void Guanli::add() { 北華航天工業(yè)學院課程設計報告 26 int n=read()。 int i=0。 char sign。 coutendl請輸入增加的學生的相關信息 : endl。 while(sign!=39。N39。) { loop: cout學號 :。 cinstu[i].stuid。 cout endl。 int c=0。 while(ci) { c++。 if(stu[i].stuid==stu[ic].stuid) { cout你輸入的學號已經(jīng)存在 !請重新輸入 endl。 goto loop。 } } cout姓名 :。 cinstu[i].stuname。 coutendl。 cout性別 :。 cinstu[i].sex。 coutendl。 cout年齡 :。 cinstu[i].age。 coutendl。 cout班級 :。 cinstu[i].clas。 coutendl。 cout專業(yè) :。 cinstu[i].specialty。 coutendl。 cout題目編號 :。 cinstu[i].couid。 coutendl。 cout題目名稱 :。 cinstu[i].couname。 coutendl。 cout關鍵詞 :。 cinstu[i].keyword。 coutendl。 北華航天工業(yè)學院課程設計報告 27 cout實現(xiàn)技術 :。 cinstu[i].technology。 coutendl。 cout提示:是否繼續(xù)寫入學生信息 ?(Y/N)。 cinsign。 //輸入判斷 i++。 } write(i)。 } //************************************************* //查詢信息 void Guanli::search() { int n=read()。 cout** (1)根據(jù)學號查詢 **endl。 cout** (2)根據(jù)姓名查詢 **endl。 cout** (3)根據(jù)編號查詢 **endl。 cout** (4)根據(jù)名稱查詢 **endl。 coutendl。 int c。 Guanli g。 cout請輸入選擇 :。 cinc。 switch(c) { case 1: ()。 break。 case 2: ()。 break。 case 3: ()。 break。 case 4: ()。 break。 default: cout輸入錯誤 ,請重新輸入 !endl。 } (n)。 } //************************************************* //按學生學號查詢 北華航天工業(yè)學院課程設計報告 28 void Guanli::searchsid() { int n=read()。 int s。 int i=0。 coutendl查找學生信息 :endl。 cout請輸入需要查找學生的學號 :endl。 cins。 while((stu[i].stuids)!=0amp。amp。in) i++。 //查找判斷 if(i==n) { cout提示:對不起,無法找到該學生的信息! endl。 } else { cout******************************endl。 cout學號 : stu[i].stuidendl。 cout姓名 : stu[i]. stunameendl。 cout性別 : stu[i].sexendl 。 cout年齡 : stu[i]. ageendl。 cout班級 : stu[i].clas endl。 cout專業(yè) : stu[i]. specialtyendl。 cout題目編號 : stu[i].couidendl。 cout題目名稱 : stu[i].counameendl。 cout關鍵詞 : stu[i].keywordendl。 cout實現(xiàn)技術 : stu[i].technologyendl。 } } //************************************************* //按學生姓名查詢 void Guanli::searchsname() { int n=read()。 char a[10]。 cout請輸入需要查找學生的姓名 :endl。 cina。 for(int i=0。in。i++) if(strcmp(stu[i].stuname,a)==0) { cout******************************endl。 cout學 號 : stu[i].stuidendl。 cout姓名 : stu[i]. stunameendl。 cout性別 : stu[i].sexendl 。 cout年齡 : stu[i]. ageendl 。 北華航天工業(yè)學院課程設計報告 29 cout班級 : stu[i].clasendl。 cout專業(yè) : stu[i]. specialtyendl。 cout題目編號 : stu[i].couidendl。 cout題目名稱 : stu[i].counameendl。 cout關鍵詞 : stu[i].keywordendl。 cout實現(xiàn)技術 : stu[i].technologyendl。 } } //************************************************* //按題目編號查詢 void Guanli::searchcid() { int n=read()。 int b。 int i=0。 cout請輸入需要查找的題目編號 :endl。 cinb。 while((stu[i].couidb)!=0amp。amp。in) i++。 //查找判斷 if(i==n) { cout提示:對不起,無法找到該信息! endl。 } else { cout******************************endl。 cout學號 : stu[i].stuidendl。 cout姓名 : stu[i]. stunameendl。 cout性別 : stu[i].sexendl 。 cout年齡 : stu[i]. ageendl 。 cout班級 : stu[i].clas endl。 cout專業(yè) : stu[i]. specialtyendl。 cout題目編號 : stu[i].couidendl。 cout題目名稱 : stu[i].counameendl。 cout關鍵詞 : stu[i].keywordendl。 cout實現(xiàn)技術 : stu[i].technologyendl。 } } //************************************************* //按題目名稱查詢 void Guanli::searchame() { int n=read()。 char c[10]。 cout請輸入需要查找的題目名稱 :endl。 北華航天工業(yè)學院課程設計報告 30 cinc。 for(int i=0。in。i++) if(strcmp(stu[i].couname,c)==0) { cout******************************endl。 cout學號 : stu[i].stuidendl。 cout姓名 : stu[i]. stunameendl。 cout性別 : stu[i].sexendl 。 cout年齡 : stu[i]. ageendl 。 cout班級 : stu[i].clas endl。 cout專業(yè) : stu[i]. specialtyendl。 cout題目編號 : stu[i].couidendl。 cout題目名稱 : stu[i].counameendl。 cout關鍵詞 : stu[i].keywordendl。 cout實現(xiàn)技術 : stu[i].technologyendl。 } } //************************************************* //修改學生信息 void Guanli::alter() { int n=read()。 int s。 int i=0。 coutendl修改學生信息 :endl。 cout請輸入需要修改學生的學號 :endl。 cins。 while((stu[i].stuids)!=0amp。amp。in) i++。 //查找判斷 if(i==n) { cout提示:對不起,無該學生的信息 !!!endl。 //輸入失敗信息 } else { cout該學生的信息 :endl。 cout學號 stu[i].stuid39。\n39。姓名 stu[i].stuname39。\n39。性別 stu[i].sex39。\n39。年
點擊復制文檔內(nèi)容
法律信息相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1