master
1342552657@qq.com 6 years ago
parent e24355908d
commit 8cb12edaa1

@ -0,0 +1 @@
aa aa 1-2-2524 25 52 52 cc

@ -6,6 +6,7 @@
#include<time.h> #include<time.h>
#include<dos.h> #include<dos.h>
#include<conio.h> #include<conio.h>
#include<ctype.h>
#define N 100 #define N 100
void menu(); void menu();
@ -323,7 +324,7 @@ void menu()
{ {
system("cls"); system("cls");
p=0; p=0;
system("color 2"); system("color 0");
printf("*******系统登录界面*************\n"); printf("*******系统登录界面*************\n");
printf(" 请输入密码:\n"); printf(" 请输入密码:\n");
goto_xy(18,1); goto_xy(18,1);
@ -345,7 +346,7 @@ void menu()
pwd[p]=0; pwd[p]=0;
if(strcmp(c,pwd)==0) if(strcmp(c,pwd)==0)
{ {
system("color 2"); system("color 0");
printf("\n输入密码正确\n"); printf("\n输入密码正确\n");
p=0; p=0;
system("cls"); system("cls");
@ -353,7 +354,7 @@ void menu()
} }
else else
{ {
system("color 2"); system("color 0");
system("cls"); system("cls");
printf("******密码错误!*******\n"); printf("******密码错误!*******\n");
system("pause"); system("pause");
@ -559,3 +560,7 @@ int main()
return 0; return 0;
} }

Binary file not shown.
Loading…
Cancel
Save