getpass.c
来自「不错书对C++/C程序员很有用的大家不要错过.」· C语言 代码 · 共 16 行
C
16 行
#include <stdio.h>
#include <conio.h>
#include <string.h>
void main(void)
{
char *password;
password = getpass("Enter Password:");
if (strcmp(password, "Bible"))
printf("Password Incorrect\n");
else
printf("Password OK\n");
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?