日本电影 复仇:有人可以帮我吗?

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/05 22:41:03
当我自定义文件夹时在
<script language="JavaScript">下输入以下内容
var pass = prompt("请输入密码")
if(pass != "1111")
{window.location="c:"}
可我再次打开文件夹时输入的密码为可见的! 我要如何做才能使在输入密码时其屏幕显示的为“*”的符号?

#include<graphics.h>
#include<stdio.h>
void pass(char *a)
{int i=0,j;int aa,b;
while((j=getch())!=13)
{aa=wherex();b=wherey();
if(j==8&&i>0) {gotoxy(aa-1,b);i--;clreol();continue;}
a[i++]=j;
printf("*");
}
a[i]='\0';
printf("\n");
}
main()
{char a[100];
pass(a);
puts(a);
getch();
}

类似的