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

正文內(nèi)容

c語言課設(shè)之人事管理系統(tǒng)-文庫吧資料

2025-04-18 00:12本頁面
  

【正文】 1)browse()。scanf(%d,amp。printf(\n\n\tsuccessful.\n\n)。 } } } while(w1==1)。 w1=1。amp。kn。break。)) {printf(Input error!Only be made up of (09).Please input again!\n\n)。)||(wk[i].num[j]39。j++) { if((wk[i].num[j]39。wk[i].num[j]!=39。 scanf(%s,wk[i].num)。 do { w1=0。return(i1)。!feof(fp)。return NULL。int i。scanf(%s,wk[i].leibie)。scanf(%s,wk[i].laiyansj)。scanf(%s,wk[i].renzhisj)。scanf(%s,wk[i].xueli)。scanf(%s,wk[i].zhengzhi)。scanf(%s,wk[i].zhicheng)。scanf(%s,wk[i].zhiwu)。scanf(%1s,wk[i].sex)。scanf(%s,wk[i].age)。scanf(%s,wk[i].name)。}input(int i) /*********************輸入一個記錄************************/{input_num(i,i1)。fclose(fp)。pk。 printf_back()。input(i)。i=k。k=m+n。scanf(%d,amp。if(n==1)menu()。FILE *fp。printf_back()。p++)if((fprintf(fp,%s\t%s\t%1s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n,wk[p].num,wk[p].name,wk[p].sex,wk[p].age,wk[p].zhiwu,wk[p]. zhicheng,wk[p].zhengzhi,wk[p].xueli,wk[p].renzhisj,wk[p].laiyansj,wk[p].leibie))!=1)printf(cannot write the data\n\n)。}for(p=0。i++){printf(\nInput %dth worker record.\n,i+1)。for(i=0。m)。}printf(how many workers do you want to input(0%d)?:,N)。if((fp=fopen(,w))==NULL){printf(can not build file\n)。}}}build() /**************************新建文件*********************/{int i,m,k,p。default:{printf(input error!! please input a number between 0 and 8)。break。break。break。break。break。break。break。break。break。}while(w1==1)。 getchar()。n)。printf(\tplease choice and enter a number [ ]\b\b)。printf(\t\t8\tdata a volume\n\n)。printf(\t\t6\tmodify the data\n\n)。printf(\t\t4\tsearch by name\n\n)。printf(\t\t2\tadd data\n\n)。printf(\t\t0\tbuild new data\n\n)。 menu() /********************菜單函數(shù)***************/{int n,w1。 char leibie[15]。 char renzhisj[8]。 char zhengzhi[15]。 char zhiwu[15]。 char sex[2]。 上機操作:1:數(shù)據(jù)源2:編譯,連接和運行下面是各個模塊的運行結(jié)果的界面圖: 主菜單函數(shù)界面:輸入模塊:新建文件和 添加模塊的輸入界面基本相同:刪除模塊:瀏覽模塊;編輯模塊:統(tǒng)計模塊:排序模塊: 附所有源程序:define N 100include struct worker { char num[11]。 }}該過程中調(diào)用了四個函數(shù),numduty()(統(tǒng)計在職人員人數(shù)),numpm()(統(tǒng)計黨員人數(shù)),numwm()(統(tǒng)計女工人數(shù)),hieduction()(統(tǒng)計高學(xué)歷高職稱人數(shù)),函數(shù)的具體定義見后面附錄源程序。dafault:printf(the number must be between 1 and 4,please choose again!)。case 5:menu()。case 4:hiedcation()。case 3:numwm()。case 2:numpm()。 switch(p) {case 1:numduty()。scanf(%d,amp?!?〉流程圖;〈3〉、程序data() {int p。}(10)、統(tǒng)計模塊〈1〉、[需求分析];該模塊的功能是按照用戶的要求統(tǒng)計出滿足符合條件的所有記錄的個數(shù),并將滿足條件的記錄顯示出來。}printf(\n\n)。menu()。m++){if(fprintf(fp,%s\t%s\t%1s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n,wk[m].num,wk[m].name,wk[m].sex,wk[m].age,wk[m].zhiwu,wk[m]. zhicheng,wk[m].zhengzhi,wk[m].xueli,wk[m].renzhisj,wk[m].laiyansj,wk[m].leibie)==NULL){printf(cannot open the file,press any key to continue......)。for(m=0。 wk[j]=s。j++) {if(strcmp(wk[i].laiyansj,wk[j].laiyansj)0) {s=wk[i]。i++) {for(j=i+1。 } } } }if(p==2) {for(i=0。 wk[i]=wk[j]。j=n。i=n1。p)。printf(which do you like to follow?\n\t\t1\tage\n\t\t2\tlaiyuanshijian\n\n)。FILE *fp。}(9)、排序模塊;〈1〉、[需求分析];該模塊的功能是要求將記錄按照年齡或者來院時間進(jìn)行排序,總體結(jié)構(gòu)是先用n=load()函數(shù)將文件中的數(shù)據(jù)調(diào)入內(nèi)存,然后按照選擇法排序,并將結(jié)果顯示出來,然后將排序后的結(jié)果保存。getch()。} printf(\tThere are %d record.\n,n+1)。printf(\n\n)。(i%10==0)) {printf(\n\nRemember the need delete.\npress any key to continue...)。i++){ if((i!=0)amp。for(i=0。 n=load()。}(7) 按姓名搜索。}while(w2==1)。scanf(%d,amp。}printf(\n\n\t\tsuccessful!!\n)。p++)fprintf(fp,%s\t%s\t%1s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n,wk[p].num,wk[p].name,wk[p].sex,wk[p].age,wk[p].zhiwu,wk[p]. zhicheng,wk[p].zhengzhi,wk[p].xueli,wk[p].renzhisj,wk[p].laiyansj,wk[p].leibie)。for(p=0。break。 break。p=n。w4)。/****調(diào)用修改數(shù)據(jù)函數(shù)******/case 3:{printf(\nAre you sure?\n\t\t1\tsure\n\t\t2\tno and back\n\t\t[ ]\b\b)。case 2:w3=modify_data(k)。 switch(w2) {case 1:snum()。 scanf(%d,amp。if(k!=1)。w4=0。amp。break。break。w1)。printf(\n\nAre you again?\n\t\t1\tagain\n\t\t2\tNO and back\n\t\t[ ]\b\b)。break。i++)if(strcmp(,wk[i].num)==0) { k=i。for(i=0。 printf(\n\nEnter the number that you want to search!\n\t\tnumber:[ ]\b\b\b\b\b)。n=load()。〈2〉流程圖;〈3〉、程序;snum() {FILE *fp。menu()。fclose(fpt)。mn。w2==1) {fpt=fopen(,w)。 } if(w0!=1amp。w0)。 if(w1==1) {printf(\nsuccessful!!\n\nDo yuo want to delete another?\n\n\t\t1\tYes\n\n\t\t2\tBack with save\n\t[]\b\b)。 w1=1。j=n。y39。c)。printf(are you sure to delete the data? \t[y/n]\n\t\t[ ]\b\b)。printf_face()。 }if(k==1) printf(\n\nNO exit ! please again)。 {k=i。i=n。scanf(%s,)。} printf_one(i)。getch()。amp。i=n。printf_face()。n=load()。int i,j,n,k,m,w0=1,w1=0,w2=0。return(w1)。w1)。printf(\nare you sure?\n\n\t\t1\tsure\n\t\t2\tNo and remodify\n\t\t3\tback without save in this time\n\t\t\t[ ]\b\b\b)。printf_face()。break。case 11:printf(the old renyuanleibie is %s,enter the new renyuanleibie:,wk[i].leibie)。scanf(%s,wk[i].laiyansj)。break。case 9:printf(the old renzhishijian is %s,enter the new renzhishijian:,wk[i].renzhisj)。scanf(%s,wk[i].xueli)。break。case 7:printf(the old zhengzhimianmao is %s,enter the new zhengzhimiainmao:,wk[i].zhengzhi)。scanf(%s,wk[i].zhicheng)。break。case 5:printf(the old zhiwu is %s,enter the new zhiwu:,wk[i].zhiwu)。scanf(%s,wk[i].age)。break。case 3:printf(the old sex is %s,enter the new sex:,wk[i].sex)。scanf(%s,wk[i].name)。break。do{switch(c){case 1:printf(the old number is %s,wk[i].num)。getchar()。c)。do{printf(\nmodify by =\n\n\t\t1\tNO.\n\t\t2\tname\n\t\t3\tsex\n\t\t4\ta
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1