Input

This is a discussion on Input within the Windows Programming forums, part of the Platform Specific Boards category; apparently ReadConsoleInput is reading things before I want to... and putting a delay in the constructor doesn't work... I'm writing ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    417

    Input

    apparently ReadConsoleInput is reading things before I want to... and putting a delay in the constructor doesn't work... I'm writing a class.

    This is a problem, when, for example, I'm compiling and I press CTRL + F5 to run... it immediately tells me I had keyboard input and promptly exits.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Post a snipper that shows your problem
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Sep 2002
    Posts
    417
    nevermind... found a function that wipes the buffer.

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. continues input
    By Matty_Alan in forum C Programming
    Replies: 2
    Last Post: 06-22-2007, 11:04 PM
  3. Input statement problem
    By une in forum C Programming
    Replies: 3
    Last Post: 05-30-2007, 12:16 AM
  4. For loop problems, input please.
    By xIcyx in forum C Programming
    Replies: 2
    Last Post: 04-22-2007, 04:54 AM
  5. Simple Console Input for Beginners
    By jlou in forum C++ Programming
    Replies: 0
    Last Post: 06-21-2005, 02:50 PM

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