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

正文內(nèi)容

高校人事管理系統(tǒng)設計說明書-免費閱讀

2025-05-09 01:11 上一頁面

下一頁面
  

【正文】 這次課程設計也讓我對上學期所學的while循環(huán)、數(shù)組的賦值、循環(huán)控制語句的嵌套、條件語句的判斷和數(shù)組的選擇排序有了更深刻的理解。怎樣使各個子模塊實施其的詳細功能,特別是各個子模塊之間的接口,一定要相當清晰,達到相互協(xié)調(diào)的作用其次,我熟悉了數(shù)據(jù)結(jié)構(gòu)知識。 ()。i++) { t_te[i].teachertest_output(outfile4)。 } for(i=0。 } //存標記數(shù) outfilej 。 if(!outfile3) { cerr保存文檔打開出錯!endl。 exit(1)。im。i++) { t[i].teacher_display()。 } else if(d==3) { o[p].changeexist()。 break。 p=i。name==o[i].official_getname()) { (o[i])。 } if(num==te[i].test_getnum()amp。 for(i=0。 (t_te[p])。如是教師,輸入本月課時數(shù)endl。 } } if(i==(j+k+l+m+n)) { cout對不起,沒有此人信息!endl。 p=i。name==o[i].official_getname()) { (o[i])。 } if(num==te[i].test_getnum()amp。 for(i=0。 t_o[i].teacherofficial_display()。amp。 break。 t[i].teacher_display()。 string num,name。) { cout輸入錯誤,請重新輸入!endl。 } cout繼續(xù)添加請按c,結(jié)束請按nendl。 (o[l])。如是教師,輸入本月課時數(shù)endl。 //添加功能 cinb。 coutendl。 ()。im。i++) { t[i].teacher_input(infile1)。 exit(1)。 } (,ios::in)。 if(!infile) { cerr!endl。i++) (o[i])。 //計算所輸入職工的工資 for(i=0。n39。 n++。 j++。i500。 //數(shù)據(jù)輸入 cout請選擇數(shù)據(jù)輸入方式: endl。 //界面說明 cout★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★endl。 teacher_test t_te[100]。}void operate::operate4(teacher_test amp。 str=teacher_getname()。 }}void teacher_official::teacherofficial_output(ofstreamamp。}//行政人員兼教師類成員函數(shù)void teacher_official::teacherofficial_set(){ teacher_set()。 oputclassnum 。 iput){ person_input(iput)。 return str。 iputsalary3。}string test::test_getname(){ string str。}void test::test_display(){ if(person_exist()!=0) { person_display()。}string teacher::teacher_getname(){ string str。 cout工資:salary1endl。}//教師類成員函數(shù)void teacher::teacher_set(){ person_set()。 oput){ oputnum 。 iputname。)。}。 iput)。 oput)。 static int official_salary。 iput)。 string test_getname()。}。 void teacher_output(ofstreamamp。 char sex。 oput)。class operate。p) operate2函數(shù),用于求實驗員類對象的工資void operate3(official amp。 oput) test_output函數(shù),用于向文件輸出數(shù)據(jù)string test_getnum() test_getnum函數(shù),用于獲取num值string test_getname() test_getname函數(shù),用于獲取name值official(){} 無參構(gòu)造函數(shù)official(string n,string na,char s,string ti,int sa):person(n,na,s,ti),salary2(sa){} 構(gòu)造函數(shù)void official_set() set函數(shù),用于添加對象和修改對象數(shù)據(jù)void official_input(ifstreamamp。3.1.3 函數(shù)設計person(){exist=1。2.教師類teacher:公用虛繼承person類,并包括本月課時數(shù)classnum、教師基本工資工資salary1和教師工資teacher_salary作為本類數(shù)據(jù)成員。每類人員特有的信息,請根據(jù)情況自行添加。基本掌握面向?qū)ο蟪绦蛟O計的基本思路和方法。本程序主要有六個功能模塊:添加人員信息、查詢?nèi)藛T信息、修改人員信息、刪除人員信息、顯示人員信息和保存人員信息。同時,鍛煉自己,利用所學的基本知識和技能,解決簡單的面向?qū)ο蟪绦蛟O計問題。2)組合查詢功能的實現(xiàn)。7.操作operate類:為以上各類的友元類,用于求各類對象的工資。 iput) teacher_input函數(shù),用于從文件讀取數(shù)據(jù)void teacher_display() teacher_display函數(shù),用于向顯示器輸出數(shù)據(jù)void teacher_output(ofstreamamp。 iput) teacherofficial_input函數(shù),用于從文件讀取數(shù)據(jù)void teacherofficial_display() teacherofficial_display函數(shù),用于向顯示器輸出數(shù)據(jù)void teacherofficial_output(ofstreamamp。例如,定義對象時加一個變量exist,通過改變它的值來判斷是否刪除;把各個類的對象分開存在不同的文檔,并引入計數(shù)變量來統(tǒng)計各個類的對象數(shù),方便下次讀入數(shù)據(jù)。 iput)。 friend operate。 void teacher_input(ifstreamamp。protected: int classnum。 void test_output(ofstreamamp。}。 string official_getname()。 iput)。}。 string teacherofficial_getname()。 void operate3(official amp。//人類成員函數(shù)void person::person_set(){ cinnumnamesextitle。 cout性別:sex 。}string person::person_getname(){ return name。 iputsalary1。 }}string teacher::teacher_getnum(){ string str。}void test::test_input(ifstreamamp。 }}string test::test_getnum(){ string str。//行政人員類成員函數(shù)void official::official_set(){ person_set()。 oputsalary3endl。int official::official_allowance= cout工資:salary4endl。}string teacher_test::teachertest_getname(){ string str。}void teacher_official::teacherofficial_display(){ if(person_exist()!=0) { person_display()。 str=teacher_getnum()。p){ =+。int main(){ //定義各類的對象數(shù)組及操作類的對象 teacher t[100]。 //選擇標記 int a=0,b=0,c=0,d=0,x=0。 cout★ ★endl。 cout每次輸入按c繼續(xù)輸入下一個,按n結(jié)束!endl。 else cout請依次輸入編號、姓名、性別和職工類別。 } else if(a==4) { t_te[m].teachertest_set()。amp。n39。i++) (te[i])。in。 } (,ios::in)。 exit(1)。 infilen。il。 } ()。 coutendl。 coutendl。 cina。 (te[k])。 } else if(a==5) { t_o[n].teacherofficial_set()。amp。) break。i++) { if(num==t[i].teacher_getnum()amp。name==te[i].test_getname()) { (te[i])。 p=i。 } if(num==t_o[i].teacherofficial_getnum()amp。 cout請依次輸入所要修改的人員的編號號和姓名(例如:0001 張明):endl。 t[i].teacher_display()。 break。amp。 t_o[i].teacherofficial_display()。 cinc。 } else if(c==3) { o[p].official_set()。 cout請依次輸入所要刪除的人員的的編號號和姓名(例如:0001 張明):endl。 t[i].teacher_display()。 break。amp。 t_o[i].teacherofficial_display()。 if(d1||d5) cout輸入錯誤!endl。 cout職工信息:endl。il。 } cout☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。 if(!outfile2) { cerr保
點擊復制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1