|
-
Jan 7th, 2002, 05:07 PM
#1
Thread Starter
Frenzied Member
getch() not waiting for user
Is there a function such as getch() which doesn't wait for user input? Or any type of input function that doesn't wait for user input, but just recieves it as it gets it?
-
Jan 7th, 2002, 05:57 PM
#2
Monday Morning Lunatic
You mean asynchronously?
As in - your program keeps going, but it will collect the input data as necessary?
That's called the input i/o buffer, and you always have one
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 7th, 2002, 06:06 PM
#3
Thread Starter
Frenzied Member
such as
while(1)
{
getch(); //not neseccarily this specific function
//other functions
}
If no key is being pressed....I want it to skip over the getch...I don't want it to wait for the user before going to the other functions...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|