what are some other input commands other than cin??? (C++)

This is a discussion on what are some other input commands other than cin??? (C++) within the Game Programming forums, part of the General Programming Boards category; i am trying to make a text-based game but am having problems becuase i want the user to be able ...

  1. #1
    Unregistered
    Guest

    what are some other input commands other than cin??? (C++)

    i am trying to make a text-based game but am having problems becuase i want the user to be able to push enter OR other random character but cin does not allow that. Are there any other forms of cin that would allow me to do this?

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    look up getch() or getche() those are the usual function used...
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem grabbing k/b input
    By falcon9 in forum C Programming
    Replies: 2
    Last Post: 10-28-2007, 12:47 PM
  2. cin input error
    By justlivelife15 in forum C++ Programming
    Replies: 4
    Last Post: 06-18-2007, 12:29 PM
  3. Trouble with a lab
    By michael- in forum C Programming
    Replies: 18
    Last Post: 12-06-2005, 11:28 PM
  4. c++ string input
    By R.Stiltskin in forum C++ Programming
    Replies: 4
    Last Post: 02-22-2003, 04:25 PM
  5. Other than cin, how can a get a program to take input?
    By deathstryke in forum C++ Programming
    Replies: 15
    Last Post: 01-30-2003, 02:56 PM

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