C语言编写密码的问题
C语言编写密码的问题
日期:2009-10-08 01:44:58 人气:1
用了 conio.h 这个控制台的非标准库
大概实现了你说的功能
#include
#include
char password[7],tc;
int i=0;
int main(){
printf("Please enter your password: ");
while((tc=getch())!=13){
if(tc==8){
if(i){
putchar(8);
putcha