--- perfectdance2050 <[EMAIL PROTECTED]>
wrote:

> hye,
> 
>  i hav the problem regarding that password code i
> want in that  
> password code the user can try their password 5
> times after that that 
> program will get over is it possible to do like
> this... so plzzz help 
> me regarding that password of this type in c++ or c
> language....
> 
> password type :
> 
>                    user : saksham
>                    password : *********   ( i want
> password in * form 
> what so ever the user enter it cme in * form .)
> 
> bye
> 
> saksham dixit
> 
> 
*******************************************************
*******************************************************
*******************************************************

Hi Saksham, this is for Your kind information that I
don't know much about c but I know something about
c++. So I think I can help You regarding Your problem
in the password code. There You can use "getche" as an
input and just after that code output a "*" sign so
that the user can't see the password and can only see
the * sign. 


Below is the sample code i have written in c++:-

> char ch;
> ch=getche();
> cout<<"*";

in c it can be written as:

> char ch;
> ch=getche();
> printf("*");

Sorry to say but I don't know whether I'm right or not
as I had not compiled it.


  I would like to receive a mail from You at
"[EMAIL PROTECTED]",
"[EMAIL PROTECTED]"

             ...Avinash



      5, 50, 500, 5000 - Store N number of mails in your inbox. Go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

Reply via email to