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

正文內容

公司員工信息管理系統(tǒng)c課程設計-資料下載頁

2025-09-04 14:46本頁面

【導讀】公司在信息方面有清晰的管理,提高公司的運營效率,本系統(tǒng)可以實現(xiàn)以上的功能??梢元毩⑤斎雮€人信息到系統(tǒng)中,方便財務部門,人力資源部門等信息的統(tǒng)計。是特殊的存在,同樣技術部門也擁有獨立信息輸入輸出的權利。負責把員工的工資信息上傳到系統(tǒng)中去的功能。同時還可以實現(xiàn)對人員信息的刪除,因為人力。以刪除功能給人力資源部節(jié)約了很多人力物力。能的操作及設計的原因;

  

【正文】 ifstream infile(,ios::in)。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。 C++課程設計 公司員工信息管理系統(tǒng) 33 } catch ( FileException fe ) { // exception handler MessageBox(())。 // () 39。\n39。 exit(0)。 } CClientDC dc(this)。 char line[101]。 for(int i=0。isizeof(infile)。i++) { (line,100)。//從文件讀入人員信息 CString c_str。 (%s,line)。 //轉換為字符串 (120,80,人員信息管理系統(tǒng) :)。 (120,100+30*i,c_str)。 } ()。 } void CMy1007010103View::OnSalemanagerinput() { // TODO: Add your mand handler code here salesmanager m2。 CDlgInput salesmanager。 ()。 if(!=) { ofstream infile(,ios::out|ios::app) 。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 infile(),你的職業(yè): () , 性別 :(), 愛好 :() endl。 C++課程設計 公司員工信息管理系統(tǒng) 34 ()。 MessageBox(信息存儲完畢! ,存儲信息對話框 )。 } } void CMy1007010103View::OnSalemanageroutput() { // TODO: Add your mand handler code here ifstream infile(,ios::in)。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。 } catch ( FileException fe ) { // exception handler MessageBox(())。 // () 39。\n39。 exit(0)。 } CClientDC dc(this)。 char line[101]。 for(int i=0。isizeof(infile)。i++) { (line,100)。//從文件讀入人員信息 CString c_str。 (%s,line)。 //轉換為字符串 (120,80,人員信息管理系統(tǒng) :)。 (120,100+30*i,c_str)。 } ()。 } void CMy1007010103View::OnSaleman() { // TODO: Add your mand handler code here salesman m3。 CDlgInput salesman。 ()。 if(!=) { ofstream infile(,ios::out|ios::app) 。 C++課程設計 公司員工信息管理系統(tǒng) 35 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 infile(), 你的職業(yè): (), 性別: (), 愛好:() endl。 ()。 MessageBox(信息存儲完畢! ,存儲信息對話框 )。 } } void CMy1007010103View::OnSalemanoutput() { // TODO: Add your mand handler code here ifstream infile(,ios::in)。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。 } catch ( FileException fe ) { // exception handler MessageBox(())。 // () 39。\n39。 exit(0)。 } CClientDC dc(this)。 char line[101]。 for(int i=0。isizeof(infile)。i++) { (line,100)。//從文件讀入人員信息 CString c_str。 (%s,line)。 //轉換為字符串 (120,80,人員信息管理系統(tǒng) :)。 (120,100+30*i,c_str)。 } ()。 } void CMy1007010103View::OnTechmeninput() { // TODO: Add your mand handler code here C++課程設計 公司員工信息管理系統(tǒng) 36 technician t1。 CDlgInput technician。 ()。 if(!=) { ofstream infile(,ios::out|ios::app) 。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 ((char*)(LPCTSTR) )。 infile(),你的職業(yè): () , 性別 :(), 愛好 :() endl。 ()。 MessageBox(信息存儲完畢! ,存儲信息對話框 )。 } } void CMy1007010103View::OnTechOutput() { // TODO: Add your mand handler code here ifstream infile(,ios::in)。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。 } catch ( FileException fe ) { // exception handler MessageBox(())。 // () 39。\n39。 exit(0)。 } CClientDC dc(this)。 char line[101]。 for(int i=0。isizeof(infile)。i++) { (line,100)。//從文件讀入人員信息 CString c_str。 (%s,line)。 //轉換為字符串 (120,80,人員信息管理系統(tǒng) :)。 (120,100+30*i,c_str)。 } C++課程設計 公司員工信息管理系統(tǒng) 37 ()。 } void CMy1007010103View::OnGetmonthlypay() { // TODO: Add your mand handler code here UpdateData()。 CDlgQuerySalary work。 ()。 if(!=1) { switch() { case 0: if(MessageBox(你的職業(yè)是總經(jīng)理嗎? ,提示窗口 ,100)==IDYES) { MessageBox(總經(jīng)理固定月薪是 80000,提示窗口 )。 } break。 case 1: if(MessageBox(你的職業(yè)是銷售經(jīng)理嗎? ,提示窗口 ,100)==IDYES) { thisOnInitialUpdate()。 ifstream infile(,ios::in)。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。 } catch ( FileException fe ) { // exception handler AfxMessageBox(())。 // () 39。\n39。 exit(0)。 } CDlgQueryName ed。 //聲明查詢對話框對象 if(()==IDOK)//調用查詢對話框 { char line[10][101]。 BOOL flag=FALSE。 for(int i=0。i4。i++) C++課程設計 公司員工信息管理系統(tǒng) 38 { (line[i],100)。 //從文件讀入人員信息 CString c_str,name_str。 (%s,line[i])。 //轉換為字符串 name_str=((39。,39。))。//提取姓名 if(!())//與查詢名比較 { flag=TRUE。 name_str+=被查詢到,要顯示該人員信息嗎? 。 if(MessageBox(name_str,提示對話框 ,100)==IDYES) { CDlginfomation pDlg。//聲明顯示對 話框對象 = 。 = c_str。 ()。//調用顯示對話框 } } } if(flag==FALSE) MessageBox(查無此人! ,提示對話窗口 )。 } ()。 } break。 case 2: if(MessageBox(你的職業(yè)是技術員嗎? ,提示窗口 ,100)==IDYES) { thisOnInitialUpdate()。 ifstream infile(,ios::in)。 //創(chuàng)建一個輸入文件流對象 try { if (!infile) throw FileException()。 } catch ( FileException fe ) { // exception handler AfxMessageBox(())。 // () 39。\n39。 exit(0)。 } CDlgQueryName ed。 //聲明查詢對話框對象 C++課程設計 公司員工信息管理系統(tǒng) 39 if(()==IDOK)//調用查詢對話框 { char line[10][101]。 BOOL flag=FALSE。 for(int i=0。i4。i++) { (line[i],100)。 //從文件讀入人員信息 CStri
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1