getpass()函数

    技术2024-06-22  69

    函数名: getpass 功  能: 读一个口令 用  法: char *getpass(char *prompt);

    #include

    #include int main(void) {    char *password;    password = getpass("Input a password:");     printf("The password is: %s/r/n",     password);    return 0; }

    最新回复(0)