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

正文內(nèi)容

課程設(shè)計(jì)選題管理系統(tǒng)設(shè)計(jì)-文庫(kù)吧資料

2024-12-24 21:24本頁(yè)面
  

【正文】 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 14 } } } void Guanli::display() { int n=read()。 cout實(shí)現(xiàn)技術(shù) :stu[i].technologyendl。 cout題目名稱 :stu[i].counameendl。 cout專業(yè) :stu[i].specialtyendl。 cout年齡 :stu[i].ageendl。 cout學(xué)號(hào) :stu[i].stuidendl。i++) if(strcmp(stu[i].couname,c)==0) { cout你要統(tǒng)計(jì)的信息如下 :endl。 for(int i=0。 cout請(qǐng)輸入需要查找的題目名稱 :endl。 } void Guanli::total() { { int n=read()。 cout實(shí)現(xiàn)技術(shù) :stu[i].technologyendl。 cout題目名稱 :stu[i].counameendl。 cout專業(yè) :stu[i].specialtyendl。 cout年齡 :stu[i].ageendl。 cout學(xué)號(hào) :stu[i].stuidendl。 //返回成功信息 } cout你要?jiǎng)h除的信息如下 :endl。 strcpy(stu[j].technology,stu[j+1].technology)。 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 13 strcpy(stu[j].couname,stu[j+1].couname)。 strcpy(stu[j].specialty,stu[j+1].specialty)。 stu[j].age=stu[j+1].age。 strcpy(stu[j].stuname,stu[j+1].stuname)。jn1。 //查找判斷 if(i==n) { cout提示:記錄為空 !!!endl。amp。 cins。 coutendl刪除學(xué)生信息 :endl。 int s。 write(n)。y39。 cinc。 char c。 cinstu[i].technology。 coutendl。 cout關(guān)鍵詞 :。 cinstu[i].couname。 coutendl。 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 12 cout題目編號(hào) :。 cinstu[i]. specialty。 coutendl。 cout班級(jí) :。 cinstu[i].age。 coutendl。 cout性 別 :。 cinstu[i]. stuname。 coutendl。 cout學(xué)號(hào) :。endl。 實(shí)現(xiàn)技術(shù)stu[i].technology39。 關(guān) 鍵 詞 stu[i].keyword39。題目名稱 stu[i].couname39。 題目編號(hào)stu[i].couid39。 專業(yè) stu[i].specialty39。班級(jí) stu[i].clas39。年齡 stu[i].age39。性別 stu[i].sex39。姓名 stu[i].stuname39。 cout學(xué)號(hào) stu[i].stuid39。 //查找判斷 if(i==n) { cout提示:對(duì)不起,無該學(xué)生的信息 !!!endl。amp。 cins。 coutendl修改學(xué)生信息 :endl。 int s。 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 11 cout實(shí)現(xiàn)技術(shù) : stu[i].technologyendl。 cout題目名稱 : stu[i].counameendl。 cout專業(yè) : stu[i]. specialtyendl。 cout年齡 : stu[i]. ageendl 。 cout姓名 : stu[i]. stunameendl。i++) if(strcmp(stu[i].couname,c)==0) { cout******************************endl。 for(int i=0。 cout請(qǐng)輸入需要查找的題目名稱 :endl。 } } void Guanli::searchame() { int n=read()。 cout關(guān)鍵詞 : stu[i].keywordendl。 cout題目編號(hào) : stu[i].couidendl。 cout班級(jí) : stu[i].clas endl。 cout性別 : stu[i].sexendl 。 cout學(xué)號(hào) : stu[i].stuidendl。 //查找判斷 if(i==n) { cout提示:對(duì)不起,無法找到該信息! endl。amp。 cinb。 int i=0。 } } void Guanli::searchcid() { 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 10 int n=read()。 cout關(guān)鍵詞 : stu[i].keywordendl。 cout題目編號(hào) : stu[i].couidendl。 cout班級(jí) : stu[i].clasendl。 cout性別 : stu[i].sexendl 。 cout學(xué)號(hào) : stu[i].stuidendl。in。 cina。 char a[10]。 cout實(shí)現(xiàn)技術(shù) : stu[i].technologyendl。 cout題目名稱 : stu[i].counameendl。 cout專業(yè) : stu[i]. specialtyendl。 cout年齡 : stu[i]. ageendl。 cout姓名 : stu[i]. stunameendl。 } else { cout******************************endl。in) i++。 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 9 while((stu[i].stuids)!=0amp。 cout請(qǐng)輸入需要查找學(xué)生的學(xué)號(hào) :endl。 int i=0。 } void Guanli::searchsid() { int n=read()。 default: cout輸入錯(cuò)誤 ,請(qǐng)重新輸入 !endl。 case 4: ()。 case 3: ()。 case 2: ()。 switch(c) { case 1: ()。 cout請(qǐng)輸入選擇 :。 int c。 cout** (4)根據(jù)名稱查詢 **endl。 cout** (2)根據(jù)姓名查詢 **endl。 } void Guanli::search() { int n=read()。 //輸入判斷 i++。 cout提示:是否繼續(xù)寫入學(xué)生信息 ?(Y/N)。 cinstu[i].technology。 coutendl。 cout關(guān)鍵詞 :。 cinstu[i].couname。 coutendl。 cout題目編號(hào) :。 cinstu[i].specialty。 coutendl。 cout班級(jí) :。 cinstu[i].age。 coutendl。 cout性別 :。 cinstu[i].stuname。 goto loop。 while(ci) { c++。 cout endl。) { loop: cout學(xué)號(hào) :。 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 7 while(sign!=39。 char sign。 } void Guanli::add() { int n=read()。 } ()。i++) { myfilestu[i].stuidstu[i].stunamestu[i].sexstu[i].agestu[i].classtu[i].specialtystu[i].couidstu[i].counamestu[i].keywordstu[i].technology。 for(int i=0。 (0)。 abort()。 (,ios::in|ios::binary)。 } ()。i=count。 myfilecountendlendl。 abort()。 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 6 (,ios::out|ios::binary)。 //從文件中讀數(shù)據(jù) }。 //顯示信息 void write(int n)。 //刪除信息 void total()。 //按題目名稱查詢信息 void alter()。 //按名字查詢信息 void searchcid()。 //查詢信息 void searchsid()。 public: void add()。 //實(shí)現(xiàn)技術(shù) }stu[50]。 //題目名稱 char keyword[20]。 //專業(yè) int couid。 //年齡 char clas[10]。 //姓名 char sex[2]。 退出系統(tǒng) 顯示所有記錄 統(tǒng)計(jì)所有記錄 刪除學(xué)生信息 修改學(xué)生信息 查詢記錄信息 添加新的記錄 按學(xué)號(hào)查詢 按姓名查詢 按編號(hào)查詢 按名稱查詢 主菜單 北華航天工業(yè)學(xué)院課程設(shè)計(jì)報(bào)告 5 第四章 系統(tǒng)實(shí)現(xiàn) 4. 1 類實(shí)現(xiàn) class Student { public: int stuid。如圖 31 示。 3. 1. 2 函數(shù)設(shè)計(jì) void write(int n),向文件中寫入數(shù)據(jù),打開文本文檔,并將數(shù)據(jù)輸入到文本文檔中; int read(),向文件中寫入數(shù)據(jù)從文件中讀數(shù)據(jù),打開文本文檔,并將文本文檔中的數(shù)據(jù)輸出; void add(S),添加學(xué)生信 息; void search()查詢信息(可根據(jù)學(xué)生的學(xué)號(hào)、姓名、所選課程編號(hào)、課程名稱 進(jìn)行信息查詢 ); void alter(),修改學(xué)生信息; void del()刪除學(xué)生信息,根據(jù)輸入的學(xué)生學(xué)號(hào)通過調(diào)用函數(shù)實(shí)現(xiàn); void total(),統(tǒng)計(jì)學(xué)生信息(根據(jù)學(xué)生所選課程名稱 進(jìn)行統(tǒng)計(jì) ); void display(),顯示函數(shù)用來顯示所有學(xué)生信息; int main()主函數(shù), 顯示主菜單,調(diào)用各個(gè)函數(shù)實(shí)現(xiàn)所有功能。添加學(xué)生信息函數(shù) void add(),查詢信息函數(shù) void search (),按學(xué)號(hào)查詢函數(shù) void searchsid(),按姓名查詢函數(shù) void searchsname(), 按題目編號(hào)查詢
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1