用C语言编写一个密码验证程序
用C语言编写一个密码验证程序
日期:2016-10-20 23:34:56 人气:1
#include
#include
typedef struct
{
long number; //用户编号 6位
char name[20]; //用户名
char password[8]; //用户密码
int power; //权限判断 1 为管理员2为普通用户
} user;
user yh[100]={100000,"gavin","gavine",1,100