Alf said:
* Daniel T.:
There is a way to read unbuffered on /some/ systems, but like most of
iostreams it's not guaranteed to work, so is very much less than useful.
I absolutely don't feel like digging up the details.
Someone?
Isnt the answer that the standard stream are synchronous, whereas the
OP would need an asynchronous stream and then poll it for input?
OTOH what we are looking at is an input event?... as part of an event
driven system, commonly (though not exclusiveley) the domain of a GUI,
for which lamentably there is no standard C++ Library, though such GUI
would be a great addition to the standard libraries!
regards
Andy Little