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

正文內(nèi)容

c語言課設(shè)之人事管理系統(tǒng)-wenkub.com

2025-04-09 00:12 本頁面
   

【正文】 }小結(jié):八天的C語言課程設(shè)計(jì)結(jié)束了,在這八天的時(shí)間里,我自己獨(dú)立完成了一個程序從構(gòu)思結(jié)構(gòu),到編寫代碼,然后上機(jī)調(diào)試運(yùn)行的過程,感覺自己收獲很大。i++)if(strcmp(wk[i].xueli,xueshi)==0||strcmp(wk[i].xueli,professor)==0||strcmp(wk[i].xueli,shuoshi)==0||strcmp(wk[i].xueli,benke)==0){k++。int n。)==0){k++。for(i=0。}printf(the number of the partymember is %d,k)。for(i=0。}printf(the number of the person on duty is %d,k)。for(i=0。 data()。break。break。p)。menu()。mn。 } if(w0!=1amp。 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)。j=n。c)。printf_face()。 {k=i。scanf(%s,)。getch()。i=n。n=load()。printf_back()。getchar()。 } }}}{fp=fopen(,w+)。j=n。 wk[j]=s。i++) {for(j=i+1。scanf(%d,amp。}order() /**********************排序函數(shù)******************************/{int i,j,k,n,p,m。scanf(%d,amp。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)。break。p=n。case 3:{printf(\nAre you sure?\n\t\t1\tsure\n\t\t2\tno and back\n\t\t[ ]\b\b)。 switch(w2) {case 1:snum()。if(k!=1)。amp。break。printf(\n\nAre you again?\n\t\t1\tagain\n\t\t2\tNO and back\n\t\t[ ]\b\b)。i++)if(strcmp(,wk[i].num)==0) { k=i。 printf(\n\nEnter the number that you want to search!\n\t\tnumber:[ ]\b\b\b\b\b)。}snum() /*****************按學(xué)號搜索**********************/{FILE *fp。scanf(%d,amp。break。pn。case 3:{printf(\nAre you sure?\n\t\t1\tsure\n\t\t2\tno and back\n\t\t[ ]\b\b)。 switch(w2) {case 1:sname()。if(k!=1)。amp。break。printf(\n\nAre you again?\n\t\t1\tagain\n\t\t2\tNO and back\n\t\t[ ]\b\b)。i++)if(strcmp(,wk[i].name)==0) { k=i。 printf(\n\nEnter the name that you want to search!\n\t\tname[ ]\b\b)。return(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)。break。scanf(%s,wk[i].laiyansj)。case 9:printf(the old renzhishijian is %s,enter the new renzhishijian:,wk[i].renzhisj)。break。scanf(%s,wk[i].zhicheng)。case 5:printf(the old zhiwu is %s,enter the new zhiwu:,wk[i].zhiwu)。break。scanf(%s,wk[i].name)。do{switch(c){case 1:printf(the old number is %s,wk[i].num)。c)。menu()。p=n。 if(w0!=1amp。 w2=1。w1=modify_data(k)。 }if(k==1) printf(\n\nNO exit ! please again)。in。} printf_one(i)。amp。printf_face()。}modify() /*****************編輯修改函數(shù)***************/{int i,n,k,p,w0=1,w1,w2=0。in。int i。menu()。puts(\n\n)。i++) { if((i!=0)amp。for(i=0。else menu()。printf(What do you want to do ?\n\n\t\t1\tBrowse all now\n\n\t\t2\tback\n\n\t\t[ ]\b\b)。break。k++) { if(k!=iamp。 w1=1。039。 for(j=0。}}input_num(int i,int n) /*************輸入號碼************/{ int j,k,w1。}else{for(i=0。}load() /****************加載函數(shù)**********************/{FILE *fp。printf(\nenter the laiyanshijian:\t[ ]\b\b\b\b\b\b\b\b\b)。printf(\nenter the xueli:\t[ ]\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b)。printf(\nenter the zhicheng:\t[ ]\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b)。printf(\nenter the sex[M for man and W for woman]:\t[ ]\b\b)。printf(\nenter the name:\t[ ]\b\b\b\b\b\b\b\b\b\b\b)。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)。}if((fp=fopen(,a+))==NULL){printf(can not open file\n)。for(i=n+1。printf(how many workers do you want to add(0%d)?:[ ]\b\b\b,Nn)。} add() /*****************add***********************/{int i,m,n,k,p。p=i。ik。scanf(%d,amp。FILE *fp。case 9:exit(0)。case 7:order()。case 5:browse()。case 3:snum()。case 1:del()。} else w1=0。scanf(%d,amp。printf(\t\t7\torder the volume\n\n)。printf(\t\t3\tsearch by number\n\n)。do{printf(\n\t\t\t\tMENU\n)。 char laiyansj[8]。 char zhicheng[15]。 char name[10]。 data()。break。break。p)。該模塊沒有涉及到文件的保存,所以將文件用只讀的方式打開,可以防止操作過程中數(shù)據(jù)的丟失。}} fclose(fp)。m=n。 wk[i]=wk[j]。i=n1。j++) {if(strcmp(wk[i].age,wk[j].age)0) {s=wk[i]。if(p==1) {for(i=0。n=load()。menu()。} printf_one(i)。amp。 printf_face()。menu()。printf(\n\nWhat do you want to do?\n\t\t1\tSearch another\n\t\t2\tBack\n\t\t[ ]\b\b)。p=n。}case 4:menu()。 if(w4==1) for(p=i。break。w2)。w3=0。 } } while(k==1amp。if(w1==1){snum()。 }if(k==1) {printf(\n\nNO exist!please)。i=n。do {do { k=1。}(5)、按號碼搜索:〈1〉[需求分析]:該模塊的功能是按照輸入的人員的號碼查找對應(yīng)的記錄,并將其顯示,查找成功以后,增加刪除和修改等功能,其中刪除和修改功能可以通過調(diào)用相應(yīng)的函數(shù)來實(shí)現(xiàn)。m++)fprintf(fpt,%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)。amp。 scanf(%d,amp。j++) wk[j]=wk[j+1]。 if(c==39。printf_one(k)。 s=wk[i]。for(i=0。printf(\n\n)。i++) { if((i!=0)amp。do{k=1。}(4)刪除模塊:〈1〉[需求分析]:該模塊的運(yùn)行方式與修改模塊類似,首先分屏顯示所有人員的記錄,顯示完所有的記錄后,由用戶輸入要刪除的人員的號碼,根據(jù)號碼查找相應(yīng)的記錄并將結(jié)果顯示出來,經(jīng)用戶確認(rèn)后刪除,刪除的方法是將文件中的數(shù)據(jù)讀入內(nèi)存,賦給相應(yīng)的結(jié)構(gòu)體,并將結(jié)構(gòu)體數(shù)組中將刪除的后面的數(shù)據(jù)賦給前一個結(jié)構(gòu)體,然后將相應(yīng)數(shù)據(jù)寫入文件并保存;〈2〉流程圖:Y〈3〉程序;del() {char c。scanf(%d,amp。}printf(now:\n\n)。break。scanf(%s,wk[i].renzhisj)。case 8:printf(the old zuigaoxueli is %s,enter the new zuigaoxueli:,wk[i].xueli)。break。scanf(%s,wk[i].zhiwu)。case 4:printf(the old age is %s,enter the new age:,wk[i].age)。break。input_num(i,i1)。if(c11||c1)printf(choice error!please choose again!)。}修改數(shù)據(jù)函數(shù)
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1