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

正文內(nèi)容

學(xué)生信息管理系統(tǒng)c課設(shè)報(bào)告-閱讀頁(yè)

2025-01-06 02:31本頁(yè)面
  

【正文】 if(num==zhong[i].num) { cout是否確認(rèn)刪除? 是 否 endl。 cinchoice。jtop1。 cout刪除成功! endl。 }。 case 2:return。break。 } } cout無此人! endl。break。 22 string name。 for(int i=0。i++) { if(name==zhong[i].name) { cout是否確認(rèn)刪除? 是 否 endl。 cinchoice。jtop1。 cout刪除成功! endl。 }。 case 2:return。break。 } } cout無此人! endl。 break。break。 int choice。 cinchoice。break。 for(int i=0。i++) { if(zhong[i].sex==男 ) a++。 23 } cout男生人數(shù)為 aendl。 }break。//分別統(tǒng)計(jì)各地的人數(shù) for(int i=0。i++) { if(zhong[i].depart==上海路 ) a1++。 if(zhong[i].depart==北京西路 ) a3++。 if(zhong[i].depart==南京東路 ) a5++。 if(zhong[i].depart==解放東路 ) a7++。 if(zhong[i].depart==青山湖大道 ) a9++。 cout北京東路人數(shù)為 a2endl。 cout順外路人數(shù)為 a4endl。 cout南京西路人數(shù)為 a6endl。 cout解放西路人數(shù)為 a8endl。 }break。請(qǐng)重新輸入 endl。 } } void zhong_Manage::Save() { ofstream out(D:\\,ios::out)。 return。 for(int i=0。i++) { 24 outzhong[i].num zhong[i].name zhong[i].sex zhong[i].age zhong[i].depart zhong[i].spec zhong[i].title endl。 ()。 if(!in) { cout打開失敗 !endl。 } int i=0。 i++。 } ()。 class da_Manage { daxuesheng zhong[TMAX]。 //top表示當(dāng)前系統(tǒng)中存儲(chǔ)的記錄個(gè)數(shù); public: da_Manage(){top=0。 void Add()。 //顯示; void Search()。 //修改; void Delete()。 //統(tǒng)計(jì); void Save()。 //讀取到該類的數(shù)組中; }。 return。 cout輸入新添加的人員的信息 endl。 for(int i=0。i++) if (()==zhong[i].GetNum()) { cout該編號(hào)的人員已存在 endl。 } zhong[top]=t。 cout添加成功 !endl。 return。itop。 } void da_Manage::Search() { if(top==0) { cout當(dāng)前系統(tǒng)中沒有存儲(chǔ)記錄 endl。 } int choice。 cinchoice。 int num。 for(int i=0。i++) { if(zhong[i].GetNum()==num) { zhong[i].Output()。 } } cout查無此人! endl。 case 2:{ cout請(qǐng)輸入要查找的姓名 endl。 cinname。itop。 } } for( i=0。i++) if(zhong[i].GetName()==name) return。 }break。break。 return。 int choice。 switch(choice) { case 1: { cout請(qǐng)輸入編號(hào): 。 cinnum。itop。 int choice。 switch(choice) { case 1: { for(int j=i。j++) zhong[j]=zhong[j+1]。 top。break。 default:cout無此項(xiàng),失敗! endl。 }return。 } 。 case 2: {cout請(qǐng)輸入姓名: 。 cinname。itop。 int choice。 switch(choice) { case 1: { for(int j=i。j++) zhong[j]=zhong[j+1]。 top。break。 default:cout無此項(xiàng),失??! endl。 }return。 }。 default:cout沒有此項(xiàng),失?。?endl。 } } void da_Manage::Edit() { if(top==0) { cout當(dāng)前系統(tǒng)中沒有存儲(chǔ)記錄 !endl。 } int num。 cinnum。itop。 zhong[i].Input()。return。 } void da_Manage::Total() { cout1 按人數(shù)統(tǒng)計(jì) 2 按性別統(tǒng)計(jì) endl。 cout請(qǐng)輸入你的選擇 endl。 switch(choice) { case 1:cout大學(xué)生人數(shù)為 :topendl。 case 2: { int a=0,b=0。itop。 if(zhong[i].sex==女 ) b++。 cout女性人數(shù)為 bendl。 default:cout輸入錯(cuò)誤。break。 if(!out) { cout打開失敗 !endl。 } cout打開成功 !endl。itop。 } cout寫入成功! endl。 } void da_Manage::Read() { 30 ifstream in(D:\\,ios::in)。 return。 while(inzhong[i].num zhong[i].name zhong[i].sex zhong[i].age zhong[i].zzmm zhong[i].zc) { zhong[i].Output()。 top++。 }。 void zhongMenu()。 int main() { cout ***歡迎進(jìn)入高校人員信息管理系統(tǒng) ***endl。 do{ cout *****主菜單 *****\nendl。 cout|| ||endl。 cout|| ||endl。 cout|| 2=中學(xué)生信息管理 ||endl。 cout|| 0=退出系統(tǒng) ||endl。 cout|| ||endl。 coutendl。 31 cinchoice。break。break。break。break。break。 cout\n ***歡迎您下次再使用本系統(tǒng) !***endl。 } void xiaoMenu() { xiao_Manage t。 while(choice!=0) { cout *****小學(xué)生 *****\nendl。 cout|| ||endl。 cout|| 2=查找信息 ||endl。 cout|| 4=刪除信息 ||endl。 cout|| 6=保存信息 ||endl。 cout|| 8=統(tǒng)計(jì)信息 ||endl。 cout|| ||endl。 cout\n輸入您操作的選項(xiàng): 。 switch(choice) { case 1:()。 case 2:()。 case 3:()。 case 4:()。 case 5:()。 case 6:()。 case 7:()。 32 case 8:()。 case 0:cout退出成功 !endl。 default:cout無此選項(xiàng) !請(qǐng)重試 !endl。 } } } void zhongMenu() { zhong_Manage t。 while(choice!=0) { cout *****中學(xué)生 *****\nendl。 cout|| ||endl。 cout|| 2=查找信息 ||endl。 cout|| 4=刪除信息 ||endl。 cout|| 6=保存信息
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1