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.
|
|
|
|
void availability() //<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ס<EFBFBD><D7A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
{
|
|
|
|
|
int g,count=0;
|
|
|
|
|
for(g=0;g<100;g++)
|
|
|
|
|
{
|
|
|
|
|
if(z[g]==0)
|
|
|
|
|
++count;
|
|
|
|
|
else
|
|
|
|
|
if(z[g]==1)
|
|
|
|
|
printf("\n<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:%d",g);
|
|
|
|
|
}
|
|
|
|
|
printf("\n\nδʹ<EFBFBD>õķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:%d",count); //ͨ<><CDA8>ѭ<EFBFBD><D1AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>δʹ<CEB4>õķ<C3B5><C4B7><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
printf("\n\n");
|
|
|
|
|
printf("\n<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD>ķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "); //<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
scanf("%d",&s);
|
|
|
|
|
while(s<0||s>100)
|
|
|
|
|
{printf(" *********************<2A><><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>롣********************\n");
|
|
|
|
|
scanf("%d",&s);}if(s==0) menu();
|
|
|
|
|
if(z[s]==1)
|
|
|
|
|
{printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:%s",room[s].name);
|
|
|
|
|
printf("\n<EFBFBD>Ա<EFBFBD>(<28><><EFBFBD>У<EFBFBD>1<EFBFBD><31>ʾ<EFBFBD>У<EFBFBD>2<EFBFBD><32>ʾŮ):%d",room[s].sex);
|
|
|
|
|
printf("\n<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:%d",room[s].age);
|
|
|
|
|
printf("\n<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>:%s",room[s].ID_card);
|
|
|
|
|
printf("\n<EFBFBD><EFBFBD>:%d",room[s].date.year);
|
|
|
|
|
printf(" <20><>:%d",room[s].date.month);
|
|
|
|
|
printf(" <20><>:%d",room[s].date.day);
|
|
|
|
|
printf("\n<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:%d",room[s].room_ID);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
printf("<EFBFBD>÷<EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>!");
|
|
|
|
|
menu();
|
|
|
|
|
save(); //<2F><><EFBFBD>ñ<EFBFBD><C3B1>溯<EFBFBD><E6BAAF>
|
|
|
|
|
}
|