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

正文內(nèi)容

員工考勤信息管理的設(shè)計(jì)和實(shí)現(xiàn)-wenkub

2023-04-22 23:04:45 本頁(yè)面
 

【正文】 days=0。 delete_employee(id)。 } case(4): { printf(\t\t\t刪除員工信息\n)。 scanf(%d%s%s,amp。 break。 goto start。 printf(\n\t請(qǐng)選擇(1~5):\t)。 printf(\t)。 int id。 COUNT。i++) if(person[i].id==id) break。 read_file()。 write_file()。 while(person[i].id) { person[i]=person[i1]。}//添加員工信息void insert_employee(struct employee new_person) //有新員工加入時(shí),插入{ int i。i++) if(strcmp(person[i].department,temp)==0) printf(\t\t\t%d\t%s\t%s\n,person[i].id,person[i].name,person[i].department)。 scanf(%s,temp)。i++) { if(person[i].id==id) { printf(\t\t\t%d\t%s\t%s\n,person[i].id,person[i].name,person[i].department)。id)。i++) if(strcmp(person[i].name,temp)==0) printf(\t\t\t%d\t%s\t%s\n,person[i].id,person[i].name,person[i].department)。 scanf(%s,temp)。iCOUNT。 if(choice1 || choice5) { printf(\t輸入錯(cuò)誤,請(qǐng)重輸:\t)。 printf(\n)。 printf(\n\\t)。 char temp[20]。 fclose(fp2)。iCOUNT。 exit(1)。 FILE *fp1,*fp2。 COUNT++。 if((fp=fopen(,r))==NULL) { printf(cant not open file\n)。 } fclose(fp1)。 fprintf(fp2,%d\t%s\t%s\n,)。 while(!=0) { person[COUNT]=temp。 fprintf(fp1,\t\t\t\t 輸入員工信息\n)。 fp1=fopen(,w)。struct date BASE_DATA={2012,1,1}。}。struct statistic //統(tǒng)計(jì)表結(jié)構(gòu)體{ int id。 int early。 int day。 char department[20]。文件內(nèi)容:起始日期 終止日期ID 姓名 遲到次數(shù) 早退次數(shù)… …. … …例如:2010 4 1 2010 6 30ID 姓名 遲到次數(shù) 早退次數(shù)11 張三 1 212 李四 2 0各文件之間的關(guān)系:考勤文件是按照當(dāng)天的員工信息文件的順序依次記錄。本系統(tǒng)使用的開發(fā)工具是vc++開發(fā)程序,通過已編制好的程序,完成對(duì)員工信息的輸入、輸出、插入、刪除操作,以及員工遲到、早退考勤信息的登記和查詢,完善企業(yè)管理現(xiàn)代化,方便管理人員統(tǒng)計(jì),考核員工出勤情況,方便員工管理部門查詢,考核員工的出勤率,準(zhǔn)確地掌握員工出勤情況和相關(guān)資料,有效管理、掌握員工各項(xiàng)情況.本試驗(yàn)要求實(shí)實(shí)現(xiàn)員工考勤管理系統(tǒng),本系統(tǒng)包括的基本功能有:本系統(tǒng)為完成所要求功能需要的數(shù)據(jù)包括:,姓名,部門,早退情況,早退次數(shù)系統(tǒng)各實(shí)體可用以下關(guān)系表示:?jiǎn)T工(ID,姓名,部門)考勤(ID,姓名,遲到,早退,日期)統(tǒng)計(jì)(ID,姓名,遲到次數(shù),早退次數(shù),期間:文件名:文件內(nèi)容:日期ID 姓名 部門…. ….. …..例:2010 3 1 ID 姓名 部門 11 張三 安保部 12 李四 安保部:文件名:由日期經(jīng)過變換后得到。變換方式:(1)給整個(gè)系統(tǒng)設(shè)置一個(gè)基準(zhǔn)日期 基準(zhǔn)日期:一段時(shí)期內(nèi)的起始日期,通常規(guī)定為一個(gè)月的1號(hào),考勤所記錄的是基準(zhǔn)日期之后的考勤信息.(2)考勤記錄的日期與基準(zhǔn)日期相差的天數(shù)加1。在此把請(qǐng)假等排除在外不考慮。}。}。 char name[20]。 int late_count。int COUNT=0。 //基準(zhǔn)日期void input_employee() //第一次輸入員工信息,相當(dāng)于初始化{ system(cls)。 fp2=fopen(,w)。 fprintf(fp1,\n\t\t\t\tID\t姓名\t部門\n)。 printf(%d,)。 printf(\t\t\t\t)。 fclose(fp2)。 exit(1)。 } COUNT。 fp1=fopen(,w+)。 } fprintf(fp1,\t\t\t\t 輸入員工信息\n)。i++) { fprintf(fp1,\t\t\t\t%d\t%s\t%s\n,person[i].id,person[i].name,person[i].department)。}//輸出員工信息void output_employee(){ int i。 system(cls)。 printf(\t)。 printf(\n\t請(qǐng)選擇(1~5):\t)。 goto start。i++) printf(\t\t\t%d\t%s\t%s\n,person[i].id,person[i].name,person[i].department)。 printf(\t\t\tID\t姓名\t部門\n)。 break。 printf(\t\t\tID\t姓名\t部門\n)。 break。 printf(\t\t\tID\t姓名\t部門\n)。 break。 system(cls)。 i。 if(FLAG_pause==0) system(pause)。 //讀文件 system(cls)。 for(j=i。 write_file()。 struct employee someone。 printf(\t)。 start: scanf(%d,amp。 } switch(choice) { case(1): { input_employee()。 } case(3): { printf(\t\t\t插入新員工信息\n)。,)。 printf(\t請(qǐng)輸入要?jiǎng)h除的員工ID:\t)。 break。 if(==) days=+1。 case 3: days=days+31。 case 7: days=days+31。 case 11: days=days+30。 int late。 char name[20]。 system(cls)。 scanf(%d%d%d,amp。 days=puter(current_date)。 fprintf(fp,%d\t%d\t%d\n,)。iCOUNT。 scanf(%d%d,amp。 } fprintf(fp,\n)。 int j。 int end_page。
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1