【正文】
dl 姓名 :。 fflush(stdin)。 char choose。 }//首頁char worker::homepage(){ system(cls)。 number= \0。 year= \0。 sex= \0 。 sid= \0 。}。 record *prior。//保存新增加的員工 }。//修改員工信息 void select()。//刪除員工 void show_all()。//首頁展示 void add_worker()。public: worker()。 string number。 string year。 string sex。 string sid。參考文獻[1][M]張俊,++:中國鐵路出版社,2008[2][M]邵維忠,:清華大學出版社,2003[3]++:清華大學出版社,2007[4][M].北京:中國鐵道出版社,2003[5]:人民郵電出版社,2008附錄 主要程序代碼include iostreaminclude stringinclude iomanipinclude fstream include cstdlib using namespace std。 這次應用程序設計更加熟練的掌握了類的定義和指針的應用,鏈表的使用。最后是程序的改錯,得分析好錯誤的前后和聯(lián)系。首先,一個工程的整體設計,得想出解決方案來,規(guī)劃好。圖 45 關系系統(tǒng)總 結借鑒以前課程設計的經驗這次的課程設計總體感覺比較好。圖 42 刪除員工信息 顯示所有員工 用戶可以顯示所有的學生信息,如圖 43.圖 43 顯示所有員工 查詢員工信息 當用戶按“5”選擇后,會彈出要你選擇員工信息,輸入后就可修改,如圖44所示。圖 41 添加員工信息當用戶輸入完這個員工信息后,可以重新返回主菜單繼續(xù)輸入新學生信息。 string 。 string salary。 string address。 string age。菜單創(chuàng)建管理系統(tǒng)刪除員工查找員工顯示所有員工選擇關閉系統(tǒng)任意鍵繼續(xù)結束圖 34 系統(tǒng)流程圖 數(shù)據結構設計系統(tǒng)數(shù)據結構如下:private: string name。 管理系統(tǒng)輸出模塊 用戶在完成相應的操作后,輸出用戶需要的信息,并直觀的顯示在屏幕上。管理系統(tǒng)創(chuàng)建模塊輸入姓名輸入性別輸入年齡輸入出生年月輸入工號輸入電話號碼輸入地址輸入郵箱輸入工資圖 33 管理系統(tǒng)創(chuàng)建模 管理系統(tǒng)刪除模塊 根據用戶的需要選擇要刪除的學生,學生信息刪除之后相應的文件之中也找不到該學生的信息。人事管理系統(tǒng)用戶選擇模塊管理系統(tǒng)創(chuàng)建模塊管理系統(tǒng)刪除模塊管理系統(tǒng)查找模塊管理系統(tǒng)輸出模塊圖 31 人事管理系統(tǒng)模塊 模塊設計 用戶選擇模塊 根據用戶的操作來選擇功能,如圖32。人事管理系統(tǒng)有輸入,刪除,查找和輸出這幾個功能,主菜單實現(xiàn)輸入,刪除,查找和輸出等功能的入口,進而進入到子菜單中,完成相應的操作后返回主菜單,顯示子菜單相應的操作結果。4. 輸出:將員工的信息輸出到顯示屏上。2. 刪除:刪除一個已有的員工信息。其基本屬性包括姓名,工號,年齡,性別,出生年月,工資,地址,電話,Email等。 設計一個企業(yè)人事信息管理系統(tǒng),此系統(tǒng)要以人為中心,為企業(yè)提供全面的人事管理解決方案;、實時化人事管理機制;、節(jié)約相關的管理成本,增強人事管理的安全性;,人事業(yè)務操作層和全體員工的不同層次和不同方面的需要;。企業(yè)人事管理系統(tǒng)主要是用于員工個人相關信息的管理。企業(yè)管理信息化理念的出臺,使信息管理系統(tǒng)已開始設計并應用于企業(yè)中。關鍵字:信息管理;輸入輸出;文件流As information technology more and more depth in the management of a wide range of applications, management information systems implementation technology has gradually matured. In the current wave of information management, management of personnel services for the traditional manual shift mode of progressive information technology, modern management model and efficient management information system is a new subject, any one unit to survive and develop to the internal activities efficiently organized organically, it must establish its own characteristics to adapt to the management information system. This is a new type of office business process automation, intelligent analysis, scientific management mode macro inevitable demand. This system uses objectoriented programming language, to achieve the basic management of employee information, including employee information to add, delete, query, and the input and output, wages and salaries. Full account of the user of the system is simple, to achieve efficient operation. Realization of the information input, read, delete, and display. Keywords: Information management ;Input output ;File operation第一章 課題背景隨著IT技術的發(fā)展,信息的處理和傳輸也進入一個嶄新的階段,人類進入信息高速發(fā)展的時代。該系統(tǒng)充分考慮用戶的操作簡便性,實現(xiàn)快捷操作。這是新型的辦公業(yè)務流程自動化、智能分析、科學宏觀的管理模式的必然需求。關鍵字:信息管理;輸入輸出;文件流五、綜合設計(課程設計)Abstract(英文):As information technology more and more depth in the management of a wide range of applications, management information systems implementation technology has gradually matured. In the current wave of information management, management of personnel services for the traditional manual shift mode of progressive information technology, mo