Boost logo

Boost :

From: deansturtevant_at_[hidden]
Date: 2001-03-05 18:53:46


--- In boost_at_y..., "David Abrahams" <abrahams_at_m...> wrote:
> I ran into exactly this problem in my previous job. A colleague
blamed me
> and the "stupid C++ committee" for not having standardized the
ability to
> look for an incoming keypress! If you have a portable
implementation, please
> do submit it.
>
That colleague was me. Did I really blame the C++ committee? I should
really put primary blame on the C committee for not setting a
precedent. Anyway, in case anyone is interested, if you're using the
C stdin, of course Microsoft provides kbhit(). If you want to have a
kbhit() that works in Linux, check out the following site (which has
a GNU General Public License version):
http://src.openresources.com/debian/src/comm/HTML/S/casio_2.2.orig%
20casio-2.2.orig%20boss.c.html#1182
- Dean


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk