繁花不似锦
#include<stdio.h>#include<stdlib.h>#include<string.h>void main() { char password[]="123456",mpass[256]; printf("请输入登录密码: "); scanf("%s",mapss); if ( strcmp(mpass,password) ) { printf("登录密码错误。\n"); exit(); } printf("您已经登录。\n");}