C語言課程設(shè)計報告—人事管理系統(tǒng)(共21頁)_第1頁
C語言課程設(shè)計報告—人事管理系統(tǒng)(共21頁)_第2頁
C語言課程設(shè)計報告—人事管理系統(tǒng)(共21頁)_第3頁
C語言課程設(shè)計報告—人事管理系統(tǒng)(共21頁)_第4頁
C語言課程設(shè)計報告—人事管理系統(tǒng)(共21頁)_第5頁
已閱讀5頁,還剩16頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、精選優(yōu)質(zhì)文檔-傾情為你奉上人事管理系統(tǒng)前言:現(xiàn)代計算機(jī)技術(shù)的發(fā)展為人們的學(xué)習(xí)、生活、工作提供了很大的幫助,各行各業(yè)都需要特定計算系統(tǒng)的運(yùn)用,我們需要了解這些系統(tǒng)是怎么樣為我們服務(wù)以及他們是怎樣編輯出來的。我們需要學(xué)習(xí)C語言編程,根據(jù)課堂講授內(nèi)容,做相應(yīng)的自主練習(xí),消化課堂所講解的內(nèi)容;通過調(diào)試典型例題或習(xí)題積累調(diào)試C程序的經(jīng)驗;通過完成輔導(dǎo)教材中的編程題,逐漸培養(yǎng)編程能力、用計算機(jī)解決實際問題的能力,能夠按照要求編輯一些基本的程序,提高自己的思維能力。題目:某高校主要人員有:在職人員(行政人員、教師、一般員工)、退休人員及臨時工?,F(xiàn)在需要儲存這些人員的人事檔案信息,內(nèi)容包括編號、姓名、年齡、職

2、務(wù)、職稱、政治面貌、最高學(xué)歷、任職時間、來院時間、人員類別。其中,人員編號唯一,不能重復(fù)。(1) 添加刪除功能:能根據(jù)學(xué)院人事的變動情況,添加刪除記錄。(2) 查詢功能:能根據(jù)編號和姓名進(jìn)行查詢。(3) 編輯功能(高級):根據(jù)查詢對相應(yīng)的記錄進(jìn)行修改并記錄。(4) 統(tǒng)計功能:能根據(jù)多種參數(shù)進(jìn)行人員的統(tǒng)計(在職人數(shù)、黨員人數(shù)、女工人數(shù),高學(xué)歷高職稱人數(shù)),統(tǒng)計要求同時顯示被統(tǒng)計著的信息。(5) 排序功能:按照年齡、來院時間進(jìn)行排序。(6) 保存功能:能對輸入的數(shù)據(jù)進(jìn)行相應(yīng)的存儲。主函數(shù)main()添加與刪除功能查詢功能編輯功能統(tǒng)計功能排序功能保存功能分析:我們編輯的程序要能夠滿足題目的要求,可以

3、進(jìn)行這么多的功能的計算!但是在開始我們運(yùn)行使用程序的時候必須要知道我們要運(yùn)用這些功能中的哪一個!這就要求我們可以 程序中任意選擇我們所需要的功能!很顯然我們要編輯存儲人員的信息自然要運(yùn)用到文件!而人員的信息必須要以結(jié)構(gòu)體的形式來表示才能夠方便我們提取信息!我們選擇了要運(yùn)行的功能分支之后!這些功能是以主函數(shù)以外的被調(diào)函數(shù)!當(dāng)有需要時被調(diào)函數(shù)還可以調(diào)用其他的被吊函數(shù)!例如我們題目中的統(tǒng)計和查詢功能,就可以用這種方式來編輯程序!方便清楚!設(shè)計: 很顯然主程序要用到SWICTH函數(shù),這樣可以選擇要運(yùn)行的那個功能的函數(shù)來執(zhí)行,而其他的功能函數(shù)則不必運(yùn)行!三、解題思路1、定義結(jié)構(gòu) struct staff

4、 char num10; char name20; char sex10; int age; char title20; char p_landscape30; char Qualifications30; int Service_time; char come_time30; char category30;staff100;2、主程序進(jìn)入主菜單函數(shù)void main() menu();/*主菜單函數(shù)*/void menu()char w0;do system("cls"); fflush(stdin); /*清除緩沖區(qū)輸入*/ puts("*高校人事管理系統(tǒng)*

5、nn");開始 puts("tttt1)增加人員信息n"); puts("tttt2)刪除人員信息 n"); puts("tttt3)查詢?nèi)藛T信息n"); puts("tttt4)修改人員信息n");主菜單函數(shù) puts("tttt5)統(tǒng)計人員信息n"); puts("tttt6)對人員排序n"); puts("tttt7)保存人員信息n");開始開始 puts("tttt8)瀏覽人員信息n");結(jié)束 puts("t

6、ttt9)退出n");開始 printf("tttt請選擇 bb");開始開始 w0=getchar();開始while(w0<'1'|w0>'9');開始結(jié)束根據(jù)x的值調(diào)用各功能模塊函數(shù)顯示一系列功能選項switch(w0-48)case 1:add();break;case 2:delete_data();break;case 3:search();break;case 4:modify();break;case 5:stastic();break;case 6:sort();break;case 7:save();

7、break;case 8:browse();break;case 9:break;(1)查詢功能int search_data()/*查找單個數(shù)據(jù)函數(shù)*/int i,flag;char s30,w0;system("cls");/*清屏*/n=load(); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf(" 通過1)編號 2)姓名 bb"); w0=getchar(); while(w0<'1'|w0>'2'); if(w0='1')/*按編號查找*/ flag=0;

8、 puts("輸入人員編號:"); scanf("%s",s); for(i=0;i<n;i+) if(strcmp(s,staffi.num)=0) printf_face();printf_one(staffi); flag=1;break; else continue; if(flag=0)puts("該人員不存在!"); else /*按姓名查找*/ flag=0; puts("輸入人員姓名:"); scanf("%s",s); for(i=0;i<n;i+) if(strc

9、mp(s,)=0) printf_face(); printf_one(staffi); flag=1;break; else continue; if(flag=0) puts("該人員不存在!"); return i;void search()int k;char w1;loop: k=search_data(); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("1)回主菜單 2)退出 3)繼續(xù)查詢 bb"); w1=getchar();while(w1<'1'|w1>&#

10、39;3'); if(w1='1')menu(); else if(w1='2')exit(0); else goto loop; YNN輸入編號輸入wo的值 1或2結(jié)束輸入姓名wo=2?wo=1?Y數(shù)據(jù)查詢開始保存信息結(jié)束輸入信息開始(2)增加人員信息void add()char w0,w1;loop: system("cls"); puts("請輸入編號(如001):"); scanf("%s",s.num); if(test(s.num)goto loop;/*編號重復(fù)*/ puts(&q

11、uot;請輸入姓名:"); scanf("%s",); puts("請輸入性別(男,女):"); scanf("%s",s.sex); puts("請輸入年齡:"); scanf("%d",&s.age); puts("請輸入職務(wù)(教授 副教授 講師 助教 學(xué)生 后勤人員):"); scanf("%s",s.duty); puts("請輸入職稱 (無 初級 高級 ):"); scanf("%s&q

12、uot;,s.title); puts("請輸入政治面貌( 黨員 非黨員 ):"); scanf("%s",s.p_landscape); puts("請輸入最高學(xué)歷(小學(xué) 初中 高中 大學(xué) 碩士學(xué)位 更高):"); scanf("%s",s.Qualifications); puts("請輸入任職時間:"); scanf("%d",&s.Service_time); puts("請輸入來院時間(如):"); scanf("%s"

13、;,e_time); puts("請輸入人員類別(行政人員 教師 一般員工 退休人員 臨時工):"); scanf("%s",s.category); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("是否保存?1)是 2)否 bb"); w0=getchar();while(w0<'1'|w0>'2'); switch(w0) case 1:save(s);break; case 2:break; do fflush(stdin); /*清除緩沖區(qū)輸入*/ pri

14、ntf("1)繼續(xù)增加人員信息 2)回主菜單 3)退出 bb"); w1=getchar();while(w1<'1'|w1>'3'); if(w1='1')goto loop; else if(w1='2')menu(); else exit(0);(3)保存信息void save() char w0;save_all(); printf("所有信息已保存!n"); dofflush(stdin); /*清除緩沖區(qū)輸入*/printf("1) 回主菜單 2) 退出 b

15、b");w0=getchar();while(w0<'1'|w0>'2');if(w0='1')menu(); else exit(0);void save_all()/*保存所有數(shù)據(jù)函數(shù)*/int i; FILE *fp; if(fp=fopen("text.txt","wb")=NULL)printf("無法打開文件!");exit(0);for(i=0;i<n;i+)if(staffi.age!=0)fprintf(fp,"%s %s %s %

16、d %s %s %s %s %d %s %sn",staffi.num,,staffi.sex,staffi.age,staffi.duty,staffi.title,staffi.p_landscape,staffi.Qualifications,staffi.Service_time,e_time,staffi.category); else continue;fclose(fp);(4)刪除人員void delete_data()int k; char w0,w1; loop: k=search_data(); if(k<n) d

17、o fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("確認(rèn)要刪除該人員信息? 1)是 2)否 bb"); w0=getchar();while(w0<'1'|w0>'2'); if(w0='1') staffk.age=0; save_all();puts("該人員信息已被刪除!"); do fflush(stdin); /*清除緩沖區(qū)輸入*/刪除信息結(jié)束查詢要刪除的信息開始 printf("1)繼續(xù)刪除數(shù)據(jù) 2)回主菜單 3)退出 bb"); w1=ge

18、tchar();while(w1<'1'|w1>'3'); if(w1='1') goto loop; else if(w1='2')menu(); else exit(0); (5)修改人員信息void modify()int k=0,w0,g;char h30,w1,w2;loop: g=search_data(); if(g<n) do puts("ttt修改: 1)編號"); puts("ttt 2)姓名"); puts("ttt 3)性別");

19、 puts("ttt 4)年齡"); puts("ttt 5)職務(wù)"); puts("ttt 6)職稱"); puts("ttt 7)政治面貌"); puts("ttt 8)最高學(xué)歷"); puts("ttt 9)任職時間"); puts("ttt 10)來院時間");修改人員信息查詢要修改信息的人員開始 puts("ttt 11)人員類別"); printf(" 請選擇 : bb"); scanf("%d

20、",&w0);while(w0<1|w0>11); switch(w0) case 1:puts("請輸入新編號:"); scanf("%s",h);strcpy(staffg.num,h);break; case 2:puts("請輸入姓名:"); scanf("%s",h);strcpy(,h);break; case 3:puts("請輸入性別:"); scanf("%s",h);strcpy(staffg.sex,h

21、);break; case 4:puts("請輸入年齡:");保存信息 scanf("%d",&k);staffg.age=k;break; case 5:puts("請輸入職務(wù):"); scanf("%s",h);strcpy(staffg.duty,h);break; case 6:puts("請輸入職稱:");結(jié)束 scanf("%s",h);strcpy(staffg.title,h);break; case 7:puts("請輸入政治面貌:&quo

22、t;); scanf("%s",h);strcpy(staffg.p_landscape,h);break; case 8:puts("請輸入最高學(xué)歷:"); scanf("%s",h);strcpy(staffg.Qualifications,h);break; case 9:puts("請輸入任職時間:"); scanf("%d",&k);staffg.Service_time=k;break; case 10:puts("請輸入來院時間:"); scanf(&q

23、uot;%s",h);strcpy(e_time,h);break; case 11:puts("請輸入人員類別:"); scanf("%s",h);strcpy(staffg.category,h);break; do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("是否保存?1)保存 2)否 bb"); w1=getchar();while(w1<'1'|w1>'2'); if(w1='1')save_all(); pu

24、ts("保存修改成功!"); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("1)繼續(xù)修改 2)回主菜單 3)退出 bb"); w2=getchar();while(w2<'1'|w2>'3'); if(w2='1')goto loop; else if(w2='2')menu(); else exit(0); (6)統(tǒng)計人員信息void stastic()int i,count;char w0,w1;n=load();if(n=0)puts(&quo

25、t;沒有數(shù)據(jù)!");getchar();menu();loop: system("cls");dofflush(stdin); /*清除緩沖區(qū)輸入*/printf("通過1)在職人員 2)黨員n");printf(" 3)女工人數(shù) 4)最高學(xué)歷 bb");w0=getchar();while(w0<'1'|w0>'4');if(w0='1')/*統(tǒng)計在職人員*/printf_face();for(i=0,count=0;i<n&&staffi.

26、age;i+)if(strcmp(staffi.category,"退休人員")!=0&&strcmp(staffi.category,"臨時工")!=0)count+; printf_one(staffi);printf("tttt共有%d條記錄",count);else if(w0='2')/*統(tǒng)計黨員*/printf_face();for(i=0,count=0;i<n;i+)統(tǒng)計人數(shù)結(jié)束選擇按照何種方式開始if(strcmp(staffi.p_landscape,"黨員"

27、;)=0)count+; printf_one(staffi);printf("tttt共有%d條記錄",count);else if(w0='3')/*統(tǒng)計女工人員*/printf_face();for(i=0,count=0;i<n;i+)if(strcmp(staffi.sex,"女")=0)count+; printf_one(staffi);printf("tttt共有%d條記錄",count);else /*統(tǒng)計高學(xué)歷人員*/printf_face();for(i=0,count=0;i<n;i

28、+)if(strcmp(staffi.Qualifications,"碩士學(xué)位")=0|strcmp(staffi.Qualifications,"更高")=0)count+; printf_one(staffi);printf("tttt共有%d條記錄",count);dofflush(stdin); /*清除緩沖區(qū)輸入*/printf("n1)繼續(xù)統(tǒng)計 2)回主菜單 3)退出 bb");w1=getchar();while(w1<'1'|w1>'3');if(w1=&

29、#39;1') goto loop;else if(w1='2')menu();else exit(0);排序結(jié)束選擇按照什么排序開始(7) 排序功能void sort()int i,j;char w0,w1;struct staff s1;loop: n=load(); system("cls"); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("通過 1)年齡 2)來院時間 bb"); w0=getchar();while(w0<'1'|w0>'2');

30、if(w0='1')/*按年齡排序*/ for(i=0;i<n-1;i+)/*選擇法排序*/ for(j=i+1;j<n;j+) if(staffi.age>staffj.age) s1=staffi;staffi=staffj;staffj=s1; else /*按來院時間排序*/ for(i=0;i<n-1;i+)/*選擇法排序*/ for(j=i+1;j<n;j+) if(strcmp(e_time,e_time)>0) s1=staffi;staffi=staffj;staffj=s1; pri

31、ntf_face(); for(i=0;i<n;i+) /*顯示排序結(jié)果*/ printf_one(staffi); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("n1)回主菜單 2)繼續(xù)排序 3)退出 bb"); w1=getchar();while(w1<'1'|w1>'3'); if(w1='1') menu(); else if(w1='2')goto loop; else exit(0);四、運(yùn)行與測試報告*高校人事管理系統(tǒng)* 1)增加人員信息 2)刪除

32、人員信息 3)查詢?nèi)藛T信息 4)修改人員信息 5)統(tǒng)計人員信息 6)對人員排序 7)保存人員信息 8)瀏覽人員信息 9)退出 請選擇 【 1】請輸入編號(如001):請輸入姓名:majianbo請輸入性別(男,女):nan請輸入年齡:20請輸入職務(wù)(教授 副教授 講師 助教 學(xué)生 后勤人員):jiaoshou請輸入職稱 (無 初級 高級 ):gaoji請輸入政治面貌( 黨員 非黨員 ):danyuan請輸入最高學(xué)歷(小學(xué) 初中 高中 大學(xué) 碩士學(xué)位 更高):shuoshi請輸入任職時間:請輸入來院時間(如):請輸入人員類別(行政人員 教師 一般員工 退休人員 臨時工):jiaoshi是否保存?

33、1)是 2)否 1該信息已成功保存!1)繼續(xù)增加人員信息 2)回主菜單 3)退出 程序:#include<stdlib.h>#include <stdio.h>#include <string.h>struct staff/*定義結(jié)構(gòu)體*/ char num10;/*編號*/ char name20;/*姓名*/ char sex10;/*性別*/ int age;/*年齡*/ char duty20;/*職務(wù)*/ char title20;/*職稱*/ char p_landscape30;/*政治面貌*/ char Qualifications30;/*

34、學(xué)歷*/ int Service_time;/*任職時間*/ char come_time30;/*來院時間*/ char category30;/*人員類別*/staff100;struct staff s;int n;void menu();void printf_face()/*顯示數(shù)據(jù)結(jié)構(gòu)項目函數(shù)*/ printf("編號姓名 性別年齡職務(wù) 職稱 政治面貌學(xué)歷 任職時間來院時間 人員類別n"); void printf_one(struct staff p)/*輸出單個數(shù)據(jù)函數(shù)*/printf("%-4s%-7s%-5s%-3d%-7s%-5s%-8s%-

35、12s%-5d%-12s%-3sn",p.num,,p.sex,p.age,p.duty,p.title,p.p_landscape,p.Qualifications,p.Service_time,e_time,p.category);int load()/*加載函數(shù)*/int i=0;FILE *fp;if(fp=fopen("text.txt","rb")=NULL)return 0; exit(0); for(i=0;!feof(fp);i+) /*輸出數(shù)據(jù)到結(jié)構(gòu)體*/ fscanf(fp,"%s %s %s %d

36、%s %s %s %s %d %s %sn",staffi.num,,staffi.sex,&staffi.age,staffi.duty,staffi.title,staffi.p_landscape,staffi.Qualifications,&staffi.Service_time,e_time,staffi.category); fclose(fp); return i;int search_data()/*查找單個數(shù)據(jù)函數(shù)*/int i,flag;char s30,w0;system("cls")

37、;/*清屏*/n=load(); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf(" 通過1)編號 2)姓名 bb"); w0=getchar(); while(w0<'1'|w0>'2'); if(w0='1')/*按編號查找*/ flag=0; puts("輸入人員編號:"); scanf("%s",s); for(i=0;i<n;i+) if(strcmp(s,staffi.num)=0) printf_face();printf_one

38、(staffi); flag=1;break; else continue; if(flag=0)puts("該人員不存在!"); else /*按姓名查找*/ flag=0; puts("輸入人員姓名:"); scanf("%s",s); for(i=0;i<n;i+) if(strcmp(s,)=0) printf_face(); printf_one(staffi); flag=1;break; else continue; if(flag=0) puts("該人員不存在!");

39、return i;void save_all()/*保存所有數(shù)據(jù)函數(shù)*/int i; FILE *fp; if(fp=fopen("text.txt","wb")=NULL)printf("無法打開文件!");exit(0);for(i=0;i<n;i+)if(staffi.age!=0)fprintf(fp,"%s %s %s %d %s %s %s %s %d %s %sn",staffi.num,,staffi.sex,staffi.age,staffi.duty,staffi.t

40、itle,staffi.p_landscape,staffi.Qualifications,staffi.Service_time,e_time,staffi.category); else continue;fclose(fp);int test(char h10)/*檢查編號是否重復(fù)*/int i;n=load();for(i=0;i<n;i+)if(strcmp(h,staffi.num)=0)puts("輸入的編號有重復(fù)!請重新輸入編號!");system("pause");return 1;return 0;void

41、single_save(struct staff p)/*保存單個數(shù)據(jù)函數(shù)*/FILE *fp; if(fp=fopen("text.txt","ab+")=NULL) printf("無法打開文件!");exit(0); fprintf(fp,"%s %s %s %d %s %s %s %s %d %s %sn",p.num,,p.sex,p.age,p.duty,p.title,p.p_landscape,p.Qualifications,p.Service_time,e_time,p.catego

42、ry); printf("該信息已成功保存!n");fclose(fp);/*修改模塊*/void modify()int k=0,w0,g;char h30,w1,w2;loop: g=search_data(); if(g<n) do puts("ttt修改: 1)編號"); puts("ttt 2)姓名"); puts("ttt 3)性別"); puts("ttt 4)年齡"); puts("ttt 5)職務(wù)"); puts("ttt 6)職稱"

43、;); puts("ttt 7)政治面貌"); puts("ttt 8)最高學(xué)歷"); puts("ttt 9)任職時間"); puts("ttt 10)來院時間"); puts("ttt 11)人員類別"); printf(" 請選擇 : bb"); scanf("%d",&w0);while(w0<1|w0>11); switch(w0) case 1:puts("請輸入新編號:"); scanf("%

44、s",h);strcpy(staffg.num,h);break; case 2:puts("請輸入姓名:"); scanf("%s",h);strcpy(,h);break; case 3:puts("請輸入性別:"); scanf("%s",h);strcpy(staffg.sex,h);break; case 4:puts("請輸入年齡:"); scanf("%d",&k);staffg.age=k;break; case 5:p

45、uts("請輸入職務(wù):"); scanf("%s",h);strcpy(staffg.duty,h);break; case 6:puts("請輸入職稱:"); scanf("%s",h);strcpy(staffg.title,h);break; case 7:puts("請輸入政治面貌:"); scanf("%s",h);strcpy(staffg.p_landscape,h);break; case 8:puts("請輸入最高學(xué)歷:"); scanf

46、("%s",h);strcpy(staffg.Qualifications,h);break; case 9:puts("請輸入任職時間:"); scanf("%d",&k);staffg.Service_time=k;break; case 10:puts("請輸入來院時間:"); scanf("%s",h);strcpy(e_time,h);break; case 11:puts("請輸入人員類別:"); scanf("%s"

47、;,h);strcpy(staffg.category,h);break; do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("是否保存?1)保存 2)否 bb"); w1=getchar();while(w1<'1'|w1>'2'); if(w1='1')save_all(); puts("保存修改成功!"); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("1)繼續(xù)修改 2)回主菜單 3)退出 bb"); w2=getc

48、har();while(w2<'1'|w2>'3'); if(w2='1')goto loop; else if(w2='2')menu(); else exit(0); /*保存模塊*/void save() char w0;save_all(); printf("所有信息已保存!n"); dofflush(stdin); /*清除緩沖區(qū)輸入*/printf("1) 回主菜單 2) 退出 bb");w0=getchar();while(w0<'1'|w0&

49、gt;'2');if(w0='1')menu(); else exit(0);/*查找模塊*/void search()int k;char w1;loop: k=search_data(); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("1)回主菜單 2)退出 3)繼續(xù)查詢 bb"); w1=getchar();while(w1<'1'|w1>'3'); if(w1='1')menu(); else if(w1='2')exit(0);

50、 else goto loop; /*增加模塊*/void add()char w0,w1;loop: system("cls"); puts("請輸入編號(如001):"); scanf("%s",s.num); if(test(s.num)goto loop;/*編號重復(fù)*/ puts("請輸入姓名:"); scanf("%s",); puts("請輸入性別(男,女):"); scanf("%s",s.sex); puts("請輸

51、入年齡:"); scanf("%d",&s.age); puts("請輸入職務(wù)(教授 副教授 講師 助教 學(xué)生 后勤人員):"); scanf("%s",s.duty); puts("請輸入職稱 (無 初級 高級 ):"); scanf("%s",s.title); puts("請輸入政治面貌( 黨員 非黨員 ):"); scanf("%s",s.p_landscape); puts("請輸入最高學(xué)歷(小學(xué) 初中 高中 大學(xué) 碩

52、士學(xué)位 更高):"); scanf("%s",s.Qualifications); puts("請輸入任職時間:"); scanf("%d",&s.Service_time); puts("請輸入來院時間(如):"); scanf("%s",e_time); puts("請輸入人員類別(行政人員 教師 一般員工 退休人員 臨時工):"); scanf("%s",s.category); do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("是否保存?1)是 2)否 bb"); w0=getchar();while(w0<'1'|w0>'2'); switch(w0-48) case 1:single_save(s);break; case 2:break; do fflush(stdin); /*清除緩沖區(qū)輸入*/ printf("1)繼續(xù)增加人員信息 2)回主菜單 3)退出 bb"); w1=getchar();while(w1

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論