printf("請輸入密碼:"); fgets(input, sizeof(input) / sizeof(input[0]), stdin); if (strcmp(passwd, input) == 0) { puts("密碼正確"); }
確定! 回上一頁