|
From: JS <jsc...@gm...> - 2001-08-29 14:25:40
|
Hi, I also would like to obtain the charcater is present !
I need this for real time app, to let the data analyzer run while
waiting for a hit !
(all works a s a sub routine)
On 26 Aug 2001, at 21:59, Stein Nyg=E5rd wrote:
> try;
>
> kbhit(); which is defined in conio.h
>
> for example:
>
> while(!kbhit())
> {
> //continues as long as no keys are pressed
> }
>
> Stein Nyg=E5rd
>
>
>
> -----Oprindelig meddelelse-----
> Fra: dev...@li...
> [mailto:dev...@li...]P=E5 vegne af * +
> Sendt: 26. august 2001 20:54
> Til: dev...@li...
> Emne: [Dev-C++] detecting kb hit
>
>
> how do you detect if the keyboard has been hit? i was using getch but it
> pauses execution and waits. Thanks
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.a=
sp
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|