Thread: help with user input echos!!!

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    9

    Question help with user input echos!!!

    I need a way for the user to input a menu option with out the charactor they enter showing up on the screen.
    If anyone can help I would appreciate it a lot.

    THANKS

    dustyd

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    95
    a non-100% compatible way which is what I use coz whenever i make a program I only need it to work on ibm's and i'm using borland turbo c++ compiler.

    do something like

    Code:
    int main()
    {
      char ch;
    
      ch = getch();
      return 0;
    }
    and that will work for what you need, not 100% sure for a 100% compatible way though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. Structure and Linked List User Input Question
    By kevndale79 in forum C Programming
    Replies: 16
    Last Post: 10-05-2006, 11:09 AM
  3. SSH Hacker Activity!! AAHHH!!
    By Kleid-0 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 03-06-2005, 03:53 PM
  4. Nested Structures - User Input
    By shazg2000 in forum C Programming
    Replies: 2
    Last Post: 01-09-2005, 10:53 AM
  5. ~ User Input script help~
    By indy in forum C Programming
    Replies: 4
    Last Post: 12-02-2003, 06:01 AM