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

正文內(nèi)容

公司員工信息管理系統(tǒng)c課程設計-免費閱讀

2025-10-14 14:46 上一頁面

下一頁面
  

【正文】 for(int i=0。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。//聲明顯示對 話框對象 = 。 //從文件讀入人員信息 CString c_str,name_str。\n39。 ()。i++) { (line,100)。 } catch ( FileException fe ) { // exception handler MessageBox(())。 ((char*)(LPCTSTR) )。 //轉換為字符串 (120,80,人員信息管理系統(tǒng) :)。 exit(0)。 infile(), 你的職業(yè): (), 性別: (), 愛好:() endl。 } void CMy1007010103View::OnSaleman() { // TODO: Add your mand handler code here salesman m3。 for(int i=0。 } } void CMy1007010103View::OnSalemanageroutput() { // TODO: Add your mand handler code here ifstream infile(,ios::in)。 if(!=) { ofstream infile(,ios::out|ios::app) 。//從文件讀入人員信息 CString c_str。 // () 39。 MessageBox(信息存儲完畢! ,存儲信息對話框 )。 ()。 // TODO: add draw code for native data here } ///////////////////////////////////////////////////////////////////////////// // CMy1007010103View printing BOOL CMy1007010103View::OnPreparePrinting(CPrintInfo* pInfo) { // default preparation return DoPreparePrinting(pInfo)。 MessageBox(密碼錯誤! 請重新輸入! )。 } 八、 : // 葉俊耀 1007010103 課程設計 : implementation of the CMy1007010103View class // include include 葉俊耀 1007010103 課程設計 .h include 葉俊耀 1007010103 課程設計 include 葉俊耀 1007010103 課程設計 include include include include include C++課程設計 公司員工信息管理系統(tǒng) 29 include include include include fstream include vector include using namespace std。j!=a[2]amp。 } } ()。i++) { (line[i],100)。 exit(0)。 (120,100+30*i,c_str)。 C++課程設計 公司員工信息管理系統(tǒng) 27 } CClientDC dc(this)。 MessageBox(信息存儲完畢! ,存儲信息對話框 )。 ()。//調(diào)用顯示對話框 }。,39。 //聲明查詢對話框對象 if(()==IDOK)//調(diào)用查詢對話框 { char line[10][101]。 case 3: if(MessageBox(你的職業(yè)是銷售員嗎? ,提示窗口 ,100)==IDYES) { thisOnInitialUpdate()。//聲明顯示對話框對象 = 。 //從文件讀入人員信息 CString c_str,name_str。\n39。//調(diào)用顯示對話框 } } } if(flag==FALSE) MessageBox(查無此人! )。,39。 //聲明查詢對話框對象 if(()==IDOK)//調(diào)用查詢對話框 { C++課程設計 公司員工信息管理系統(tǒng) 23 char line[10][101]。 case 1: if(MessageBox(你的職業(yè)是銷售經(jīng)理嗎? ,提示窗口 ,100)==IDYES) { thisOnInitialUpdate()。 break。 ofstream infile(,ios::out|ios::app) 。 int i。 // (amp。 } void employee::Sethobit(char* hobita) { strcpy(hobit,hobita)。} //月薪總額即固定月薪數(shù) void manager::promote(int ) { employee::promote(3)。} //設置工作時間 void technician::pay() { accumPay=hourlyRate*workHours。} //月薪總額初值為 0 employee::~employee() {} void employee::promote(int increment) { grade+=increment。 //構造函數(shù) void pay()。 //計算月薪函數(shù) void promote(int)。 //設置工作時數(shù)函數(shù) void pay()。 //提取姓名函數(shù) int GetindividualEmpNo()。 char* Gethobit()。//工作類型 int individualEmpNo。 然后程序不能很好的完成刪除的功能,還有相關的修改功能也沒實現(xiàn),這是我要加強此程序功能的方向。 會彈出一個對話框: 刪除提示窗口 輸入刪除的人的姓名?趙高?,點擊‘確定’,又會出現(xiàn)一個對話框,取消就會退出; 信息刪除對話框 信息顯示說已經(jīng)刪除了。 3) 技術員 點擊主菜單的技術部門會出現(xiàn)一項選擇:技術員 點擊技術員會有兩項選擇:個人信息輸入,個人信息輸出。 C++課程設計 公司員工信息管理系統(tǒng) 5 四、 過程展示: 登陸系統(tǒng) : 要進行正確的身份驗證后才可以登陸系統(tǒng),在登錄窗口中輸入正確的用戶名,密碼。 5. 人力資源管理部: 主要功能是對員工信息的管理,所以在人力資源部門中可以實現(xiàn)隊員工的信息持續(xù)添加的功能,方便了人力資源部的員工的工作了。 2. 技術部門: 技術部門是由技術員組成的,技術員是技術部門的主要成員,所以技術員在技術部門內(nèi)是特殊的存在,同樣技術部門也擁有獨立信息輸入輸出的權利。就不介紹了。 我們把信息設置如下:總經(jīng)理:李斯;銷售經(jīng)理:趙高;銷售員:葉子;技術員:高山;工作時間: 100;銷售員銷售額: 20200;公司銷售額: 1000000 點擊確定會彈出提示框: C++課程設計 公司員工信息管理系統(tǒng) 9 信息提示上傳成功。 繼續(xù)添加如下信息:高山,排球,女,銷售經(jīng)理;趙高,乒乓球,男,技術員,葉子,網(wǎng)球,女,銷售員;點擊確定保存信息。還有工資查詢的職業(yè)選擇,我是用了單選按鈕來實現(xiàn)這也選擇,這樣的設置保證了信息的完整性,不會因為這也復雜而讓信息難以處理。//性別 char hobit[10]。 void Setsex(char*)。 //計算月薪函數(shù)(純虛函數(shù)) virtual void promote(int increment=0)。 //每小時酬金 int workHours。 //當月銷售額 public: salesman()。 //計算月薪函數(shù) void promote(int)。 //員工編號基數(shù)為 1000 employee::employee() { individualEmpNo=employeeNo++。} //提取成員級別 float employee::GetaccumPay() { return accumPay。} //月薪 =銷售提成 void salesman::promote(int) { employee::promote(0)。} //調(diào)用基類升級函數(shù),升 2 級 char* employee::Gethobit() { return hobit。 vector employee * vchar。sm)。 //設置姓名 vchar[i]Sethobit((char*) (LPCTSTR) )。 break。 ()。\n39。 //從文件讀入人員信息 CString c_str,name_str。//聲明顯示對話框對象 = 。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。 for(int i=0。//提取姓名 if(!())//與查詢名比較 { flag=TRUE。 } } if(flag==FALSE)MessageBox(查無此人! )。\n39。 //從文件讀入人員信息 CString c_str,name_str。//聲明顯示對話框對象 = 。 } }else { MessageBox(姓名不能為空! )。 ((char*)(LPCTSTR) )。 // () 39。//從文件讀入人員信息 CString c_str。 } catch ( FileException fe ) { // exception handler MessageBox(())。 CClientDC dc(this)。))。j4。 } } ()。 if(MessageBox(aaa,提示窗口 ,100)==IDYES) exit(0)。 cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs return CView::PreCreateWindow(cs)。 return (CMy1007010103Doc*)m_pDocument。 ((char*)(LPCTSTR) )。 void CMy1007010103View::OnManageroutput() { // TODO: Add your mand handler code here ifstream infile(,ios::in)。 for(int i=0。 } void CMy1007010103View::OnSalemanagerinput() { // TODO: Add your mand handler code here salesmanager m2。 infile(),你的職業(yè): () , 性別 :(), 愛好 :() endl。 exit(0)。 //轉換為字符串 (120,80,人員信息管理系統(tǒng) :)。 ((char*)(LPCTSTR) )。 } catch ( FileException fe ) { // exception handler MessageBox(())。i++) { (line,100)。 (
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1