Results 1 to 3 of 3

Thread: password in console with *****

  1. #1
    DaoK
    Guest

    password in console with *****

    how can i do that ? I tried a lots of thing with peek() and cin.get() with loop and I can not find a way to do not show the character in the screen anyone have an idea ?

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    use a while loop with getch()

    while(keypressed!=enter)
    {
    keypressed = getch();
    mypass += keypressed;
    cout<<"*";
    }

  3. #3
    DaoK
    Guest
    They are not a way without using conio.h ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width