Thread: Hide the keyboard input

  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    1

    Hide the keyboard input

    I want to hide the keyboard input in my c program.I want to hide what the user enters so that after entering it's not visible to me but it's still stored in the computer's memory.

  2. #2
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    You didn't say what system you're using, but if you're using *nix, then use the routines in termios.h and disable echoing.

  3. #3

  4. #4
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    I understand that your intentions are good, but don't recommend code with so many flaws:


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. keyboard input
    By KOFI in forum C Programming
    Replies: 2
    Last Post: 04-06-2010, 12:20 PM
  2. Input of keyboard
    By Gordon in forum Windows Programming
    Replies: 3
    Last Post: 07-13-2008, 06:12 PM
  3. Keyboard input
    By Darkinyuasha1 in forum Windows Programming
    Replies: 7
    Last Post: 06-19-2007, 03:21 PM
  4. Need help with keyboard input
    By wiramu in forum C++ Programming
    Replies: 2
    Last Post: 11-28-2003, 02:44 PM
  5. Keyboard Input
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-29-2002, 11:41 AM