typing with no output

This is a discussion on typing with no output within the C++ Programming forums, part of the General Programming Boards category; i was wondering if any one knew how to hide whta the user is typing such as a password entry. ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    58

    typing with no output

    i was wondering if any one knew how to hide whta the user is typing such as a password entry. this is a dos program so i wanted to know if any one can tell me how to make the stuff the user types come up with nothing or stars Example:

    *Without hiding*

    Passwd: somepassword


    *With hiding*

    Passwd: *********


    any one know how to do that? any help is apreciated thank you

  2. #2
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    This has been discussed many many many times.
    a search would show loads of threads about this subject.
    Heres one


    Here you can search search
    All spelling mistakes, syntatical errors and stupid comments are intentional.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. code output...
    By roaan in forum C Programming
    Replies: 6
    Last Post: 07-03-2009, 02:22 AM
  2. Help for my output array
    By qwertysingh in forum C Programming
    Replies: 1
    Last Post: 02-17-2009, 02:08 PM
  3. execl()/fork() output
    By tadams in forum C Programming
    Replies: 19
    Last Post: 02-04-2009, 02:29 PM
  4. Replies: 4
    Last Post: 11-30-2005, 03:44 PM
  5. Formatting output into even columns?
    By Uncle Rico in forum C Programming
    Replies: 2
    Last Post: 08-16-2005, 05:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21