exit(0);
}
}
void xiugaimi()
{
void zhuhanshu();
FILE *fp;
char xuanze;
int t=0;
char mima1[20]={'\0'},mima2[20]={'\0'};
printf("\n\n\n\n\t\tset the new code:");
scanf("%s",mima1);
printf("\n\n\t\tset again:");
scanf("%s",mima2);
if(!strcmp(mima1,mima2))
{
printf("\n\n\t\tyour new code is %s,please remember!\n\t\tpress any key back",mima1); xuanze=getch();
fp=fopen("mima.t","w");
fclose(fp);
fp=fopen("mima.t","a");
fprintf(fp,"%s",mima1);
fclose(fp);
system("cls");
zhuhanshu();
}
else
{
printf("\n\n\t\tthe two is different.\n\t\tpress any key back.");
getch();
system ("cls");
zhuhanshu();
}
}
void zihanshu()
{
char xuanze;
void zhuhanshu();
void zicaidan();
zicaidan ();
xuanze=getch();
for(;xuanze!='1'&&xuanze!='2'&&xuanze!='3'&&xuanze!='4';)
xuanze=getch();
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库个人记账管理系统.doc(10)在线全文阅读。
相关推荐: