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

正文內(nèi)容

c課程設(shè)計(jì)--同學(xué)錄的設(shè)計(jì)與實(shí)現(xiàn)-資料下載頁(yè)

2025-01-18 14:04本頁(yè)面
  

【正文】 cout地址:stud[a[i]].addressendl。 cout電話:stud[a[i]].phonenumberendl。 coutEmail:stud[a[i]].endl。 coutendlendl。 } } } if(flag==0) { cout沒(méi)有查到您要?jiǎng)h除同學(xué)的信息!endl。 } } } //對(duì)同學(xué)信息的修改void student2::update() { int n,flag=0。 char na[20]。 int a。 char s[10]。 long y。 int m。 char add[30]。 long phn。 char e[100]。 cout輸入您要修改的同學(xué)學(xué)號(hào):。 cinn。 for(i=0。irenshu。i++) { if(stud[i].num==n) { cout新的姓名:。 cinna。 strcpy(stud[i].name,na)。 cout新的年齡:。 cina。 stud[i].age=a。 cout新的性別:。 cins。 strcpy(stud[i].sex,s)。 cout新的出生年月:endl。 cout年:。 ciny。 stud[i].year=y。 cout月:。 cinm。 stud[i].month=m。 cout新的地址:。 cinadd。 strcpy(stud[i].address,add)。 cout新的電話:。 cinphn。 stud[i].phonenumber=phn。 cout新的。 cine。 strcpy(stud[i].,e)。 flag=1。 coutendlendl。 cout修改后同學(xué)的信息為:endl。 cout這是第(i+1)個(gè)同學(xué)的信息endl。 cout學(xué)號(hào):stud[i].numendl。 cout姓名:stud[i].nameendl。 cout年齡:stud[i].ageendl。 cout性別:stud[i].sexendl。 cout出生年月:stud[i].year stud[i].monthendl。 cout地址:stud[i].addressendl。 cout電話:stud[i].phonenumberendl。 coutEmail:stud[i].endl。 } } if(flag==0) cout沒(méi)有查到您要修改的同學(xué)信息:endl。 } //界面函數(shù)void student2::face() { int i。 cout********************************************************************************endl。 cout 歡迎使用同學(xué)錄信息管理系統(tǒng)!endl。 cout********************************************************************************endl。 coutendlendl。 cout同學(xué)錄信息管理系統(tǒng)菜單:endl。 coutendlendl。 cout endl。 cout endl。 cout endl。 cout endl。 cout endl。 cout endl。 cout endl。 coutendlendl。 cout請(qǐng)選擇按鍵06:。 cini。 if(i==1) { add()。 //調(diào)用add 函數(shù) tishi()。 //調(diào)用友情提示,下同 } if(i==2) { display()。 tishi()。 } if(i==3) { inquiry()。 tishi()。 } if(i==4) { sort()。 tishi()。 } if(i==5) { del()。 tishi()。 } if(i==6) { update()。 tishi()。 } } //友情提示函數(shù) void student2::tishi() { int j。 cout是否繼續(xù)其他的操作?endl。 coutendl。 cinj。 if(j==0) quit()。 if(j==1) face()。 } //退出函數(shù)void student2::quit() { cout謝謝使用!endl。 } int main() { student2 s。 //定義類(lèi)對(duì)象 ()。 //調(diào)用face界面函數(shù) return 0。 }25
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1