You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

434 lines
11 KiB

6 years ago
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <string.h>
int i=1;
struct staffsinfor
{
char staffnums[100];
char name[100];
char sex[100];
char year[100];
char studyF[100];
char homedress[100];
char money[100];
char phonenum[100];
}staffs[50];
void reader()
{
FILE *fp;
int n = 0;
if( (fp = fopen("g:\\..txt","r")) == NULL )
{
return 0;
}
fscanf(fp,"%d\n",&i);
while(n < i)
{
fscanf(fp,"%s\n%s\n%s\n%s\n%s\n%s\n%s\n",staffs[n].staffnums,staffs[n].name,staffs[n].sex,staffs[n].studyF,staffs[n].homedress,staffs[n].money,staffs[n].phonenum);
n ++;
}
fclose(fp);
}
void writeer()
{
FILE *fp;
int n = 0;
if( (fp = fopen("g:\\..txt","wb")) == NULL )
{
return ;
}
fprintf(fp,"%d\n",i);
while(n < i)
{
fprintf(fp,"%s\n%s\n%s\n%s\n%s\n%s\n%s\n",staffs[n].staffnums,staffs[n].name,staffs[n].sex,staffs[n].studyF,staffs[n].homedress,staffs[n].money,staffs[n].phonenum);
n ++;
}
fclose(fp);
}
void input(struct staffsinfor staffs[]){
int n;
int a;
int c,d;
reader();
system("cls");
do
{
system("cls");
printf("\t\t\t\t<EFBFBD><EFBFBD><EFBFBD>ڽ<EFBFBD><EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ¼<EFBFBD>\t\t\t\n\n\n");
a = 0;
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD><EFBFBD>: \n\t\t");
scanf("%s",staffs[i].staffnums);
for(n = 0 ; n < i ; n ++)
{
if(strcmp(staffs[n].staffnums,staffs[i].staffnums) == 0)
{
a = 1;
break;
}
}
if(a!=0)
{
MessageBox(NULL,"ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD><EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_OK);
d= MessageBox(NULL,"<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_YESNO);
if(d==6)
continue;
break;
}
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: \n\t\t");
scanf("%s",staffs[i].name);
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>: \n\t\t");
scanf("%s",staffs[i].sex);
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: \n\t\t");
scanf("%s",staffs[i].year);
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧ<EFBFBD><EFBFBD>: \n\t\t");
scanf("%s",staffs[i].studyF);
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD><EFBFBD>: \n\t\t");
scanf("%s",staffs[i].money);
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>סַ: \n\t\t");
scanf("%s",staffs[i].homedress);
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD>ĵ绰: \n\t\t");
scanf("%s",staffs[i].phonenum);
c=MessageBox(NULL,"<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_YESNO);
i ++;
}while( c ==6);
writeer();
MessageBox(NULL,"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_OK);
}
void look(struct staffsinfor staffs[]){
int j;;char o;
reader();j=i-1;
three :
system("cls");
printf("\t\t\t\t<EFBFBD><EFBFBD><EFBFBD>ڽ<EFBFBD><EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n\n");
printf("\t\t1,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\t\t\t2,<2C><><EFBFBD><EFBFBD>\n");
char v;
scanf("%c",&v);
if(v>'2'||v<'1')
{
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
system("pause");
goto three;
}
else if(v=='2')
goto L999;
if(j==0)
{
MessageBox(NULL,"δ<EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_OK);
return 0;
}
o1 :
system("cls");
printf("\t\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].name);
printf("\n\t\t\tְ<EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].staffnums);
printf("\n\t\t\t<EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].sex);
printf("\n\t\t\t<EFBFBD><EFBFBD><EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].year);
printf("\n\t\t\tѧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].studyF);
printf("\n\t\t\t<EFBFBD><EFBFBD><EFBFBD>ʣ<EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].money);
printf("\n\t\t\t<EFBFBD><EFBFBD>ͥסַ<EFBFBD><EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].homedress);
printf("\n\t\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\t\t\t\t\t\t\t%s",staffs[j].phonenum);
printf("\n\n\n\t\t\t\t\t\t<EFBFBD><EFBFBD>A<EFBFBD><EFBFBD>D<EFBFBD>л<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\t\t\t\t\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˻ز˵<EFBFBD>");
o=getch();
if(o=='A')
{
if(j==1)
{system("cls");
printf("<EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD><EFBFBD>ǵ<EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
system("pause");
goto o1;
}
j--;
goto o1;
}
if(o=='D')
{
if(j==i)
{system("cls");
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
system("pause");
goto o1;
}
j++;
goto o1;
}
else
return 0;
L999:
system("cls");
for(v=0;v<i;v++)
{
output_inf(v);
printf("---------------------------------------------------\n");
}
system("pause");
return 0;
}
void output_inf(int id)
{
printf("\t\t <20><><EFBFBD><EFBFBD>: %s\n",staffs[id].name);
printf("\t\t <20><><EFBFBD><EFBFBD>: %s\n",staffs[id].staffnums);
printf("\t\t <20>Ա<EFBFBD>: %s\n",staffs[id].sex);
printf("\t\t <20><><EFBFBD><EFBFBD>: %s\n",staffs[id].year);
printf("\t\t ѧ<><D1A7>: %s\n",staffs[id].studyF);
printf("\t\t <20><><EFBFBD><EFBFBD>: %s\n",staffs[id].money);
printf("\t\t סַ: %s\n",staffs[id].homedress);
printf("\t\t <20>绰: %s\n",staffs[id].phonenum);
printf("\n\n\n");
}
void shanchu(){
int n,j;char delete_ID[20];
int flag;
char c;
reader();
while(1)
{
system("cls");
flag = 0;
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>Ĺ<EFBFBD><EFBFBD>ţ<EFBFBD>");
scanf("%s",delete_ID);
for(n=0;n<i;n++)
{
if( strcmp(staffs[n].staffnums,delete_ID) == 0)
{
i--;
flag = 1;
for(j=n ; j < i ; j ++)
{
staffs[j] =staffs[j + 1];
}
break;
}
}
if(!flag) printf("\n\n<EFBFBD>޴<EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>\n\n");
else printf("\n\nɾ<EFBFBD><EFBFBD><EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD>\n");
int k;
k=MessageBox(NULL,"<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_YESNO);
if(k!=6) break;
}
writeer();
}
void que()//<2F><>ѯ<EFBFBD><D1AF>Ϣ
{
char num;
int flag,n;
char q_id[20] ;//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>
char q_name[20] ;//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>
char q_edu[20] ; //<2F><>ѯѧ<D1AF><D1A7>
int c;//
reader();//<2F>򿪳<EFBFBD><F2BFAAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ѯ<EFBFBD><D1AF>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD>Ҫ<EFBFBD>ȶ<EFBFBD><C8B6><EFBFBD>
while(1)
{
system("cls");
printf("\t\t******************<2A><>ѯ********************\n");
printf("\t\t* *\n");
printf("\t\t* 1.<2E><><EFBFBD><EFBFBD><EFBFBD>Ų<EFBFBD>ѯ *\n");
printf("\t\t* *\n");
printf("\t\t* 2.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ *\n");
printf("\t\t* *\n");
printf("\t\t* <20><>0<EFBFBD>˳<EFBFBD><CBB3><EFBFBD>ģ<EFBFBD><C4A3> *\n");
printf("\t\t******************************************\n");
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD>(1-2):");
scanf("%d",&num);
if(num < 0 || num > 2)
{
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD>\n\n");
system("pause");
continue;
}
system("cls");
flag = 0;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><D6B0><EFBFBD><EFBFBD>Ϣ<EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
if(num == 1)//<2F><><EFBFBD><EFBFBD><EFBFBD>Ų<EFBFBD>ѯ
{
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ѯְ<EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD>ţ<EFBFBD>");
scanf("%s",q_id);
for(n = 0 ; n < i ;n ++)
{
if( strcmp(staffs[n].staffnums,q_id) == 0)
{
output_inf(n);
flag = 1;//<2F><><EFBFBD><EFBFBD>
break;
}
}
}
else if(num == 2)//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ
{
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ѯְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
scanf("%s",q_name);
for(n = 0 ; n < i ;n ++)
{
if( strcmp(staffs[n].name,q_name) == 0)
{
output_inf(n);
flag = 1;//<2F><><EFBFBD><EFBFBD>
}
}
}
else if(num ==0)
return 0;
if(!flag)//<2F>ж<EFBFBD><D0B6>Ƿ<EFBFBD><C7B7>и<EFBFBD>ְ<EFBFBD><D6B0><EFBFBD><EFBFBD>Ϣ
{
printf("\n\n<EFBFBD>޸<EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ!\n\n");
}
int k;
k= MessageBox(NULL,"<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_YESNO);
if(k!=6) break;
}
}
void xiugai(){
char change_ID[20];//<2F><><EFBFBD>޸ĵ<DEB8>ְ<EFBFBD><D6B0><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>
int number;//ְ<><D6B0><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD>λ<EFBFBD><CEBB>
char num;//ָ<><D6B8>
char message[100];//<2F>޸ĵ<DEB8><C4B5><EFBFBD>Ϣ
char c;//ָ<><D6B8>Y?N
int flag;
int n;
reader();
while(1)
{
flag = 0;
system("cls");
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ĵ<EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD>ţ<EFBFBD>");
scanf("%s",change_ID);
for(n = 0 ; n < i ; n ++)
{
if( strcmp(staffs[n].staffnums,change_ID) == 0 )
{
number = n;
flag = 1;
break;
}
}
if(!flag)
{
printf("\n\n<EFBFBD>޴<EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n");
c=MessageBox(NULL,"<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_YESNO);
if(c==6) continue;
break;
}
printf("\n\n\t\t******************<2A>޸<EFBFBD>********************\n");
printf("\t\t* *\n");
printf("\t\t* 1.<2E>޸<EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD> *\n");
printf("\t\t* *\n");
printf("\t\t* 2.<2E>޸<EFBFBD>ѧ<EFBFBD><D1A7> *\n");
printf("\t\t* *\n");
printf("\t\t* 3.<2E>޸Ĺ<DEB8><C4B9><EFBFBD> *\n");
printf("\t\t* *\n");
printf("\t\t* 4.<2E>޸<EFBFBD>סַ *\n");
printf("\t\t* *\n");
printf("\t\t* 5.<2E>޸ĵ绰 *\n");
printf("\t\t* *\n");
printf("\t\t* 6.<2E>޸<EFBFBD><DEB8>Ա<EFBFBD> *\n");
printf("\t\t* *\n");
printf("\t\t* <20><>0<EFBFBD>˳<EFBFBD> *\n");
printf("\t\t******************************************\n");
printf("\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD>(1-6):");
scanf("%*c%c",&num);
if(num < '1' || num > '6')
{
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD>\n\n");
system("pause");
continue;
}
system("cls");
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ĺ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>");
scanf("%s",message);
switch(num)
{
case '1' : strcpy(staffs[number].name,message); break;
case '2' : strcpy(staffs[number].studyF,message); break;
case '3' : strcpy(staffs[number].money,message); break;
case '4' : strcpy(staffs[number].homedress,message); break;
case '5' : strcpy(staffs[number].phonenum,message); break;
case '6' : strcpy(staffs[number].sex,message);break;
case '0' :exit(1);
}
system("cls");int k;
k=MessageBox(NULL,"<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>","ϵͳ<EFBFBD><EFBFBD>ʾ",MB_YESNO);
if(k==6) break;
}
writeer();
}
int main()
{
char a;
/*ְ<><D6B0><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD>ƣ<EFBFBD><C6A3><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD>ˣ<EFBFBD>
ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD>š<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʡ<EFBFBD>סַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD>Ų<EFBFBD><EFBFBD>ظ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD>ʹ֮<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹<EFBFBD><EFBFBD>ܣ<EFBFBD>
1<EFBFBD><EFBFBD>ϵͳ<EFBFBD>Բ˵<EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2<EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ¼<EFBFBD><EFBFBD><EFBFBD>(ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3<EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4<EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD><EFBFBD>ܣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD>ʽ
<EFBFBD><EFBFBD>ѧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD>Ų<EFBFBD>ѯ<EFBFBD><EFBFBD>
5<EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸Ĺ<EFBFBD><EFBFBD><EFBFBD>(<EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD>)*/
one :
system("cls");
printf("\t\t\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>\t\t\t\t\n");
printf("**********************************************************************\n\n\n");
printf("\t\t\t\tA.¼<><C2BC><EFBFBD><EFBFBD>Ϣ\t\t\t\t\n\n");
printf("\t\t\t\tB.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\t\t\t\t\n\n");
printf("\t\t\t\tC.<2E><>ѯ<EFBFBD><D1AF>Ϣ\t\t\t\t\n\n");
printf("\t\t\t\tD.ɾ<><C9BE><EFBFBD><EFBFBD>Ϣ\t\t\t\t\n\n");
printf("\t\t\t\tE.<2E>޸<EFBFBD><DEB8><EFBFBD>Ϣ\t\t\t\t\n\n");
printf("\t\t\t\t\t<EFBFBD><EFBFBD>BackSpace<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һҳ\n\n\n");
printf("\t\t\t\t\tBy--<2D>޶<EFBFBD><DEB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n");
printf("**********************************************************************\n");
a=getch();
if(a=='A')
{
input(staffs);
goto one;
}
else if(a=='B')
{
look(staffs);
goto one;
}
else if(a=='C')
{
que(staffs);
goto one;
}
else if(a=='D')
{
shanchu();
goto one;
}
else if(a=='E')
{
xiugai();
goto one;
}
else
{
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!");
system("pause");
goto one;
}
return 0;
}