#include "stdio.h"
#include <string.h>
int Register()
{
int a=0;
char num[7],password[7];
printf("\t\t\t***************************\n");
printf("\t\t\t***请输入帐号:");
scanf("%s",&num);
printf("\t\t\t***请输入密码:");
scanf("%s",&password);
printf("\t\t\t***************************\n");
if(strcmp(num)==2014001&&strcmp(password)==abc1234)
a=1;
return a;
}
if(strcmp(num,"2014001")==0 &&strcmp(password,"abc1234")==0)
a=1;
a=1;
温馨提示:答案为网友推荐,仅供参考