D
Daz
Hi everyone.
I am trying to find out how _getch() works, as I need to use something
similar, but as well as looping for the first keyboard char pressed, I
also need to check to see if any application is still running within
the same loop also.
I have tried to find the code for _getch(), but I can only find:
_CRTIMP __checkReturn int __cdecl _getch_nolock(void);
in the conio.h header file. This is clearly the decleration, but I
can't find the implementation of it.
I would appreciate it if anyone could shed any light on the subject.
Finest regards.
Daz
I am trying to find out how _getch() works, as I need to use something
similar, but as well as looping for the first keyboard char pressed, I
also need to check to see if any application is still running within
the same loop also.
I have tried to find the code for _getch(), but I can only find:
_CRTIMP __checkReturn int __cdecl _getch_nolock(void);
in the conio.h header file. This is clearly the decleration, but I
can't find the implementation of it.
I would appreciate it if anyone could shed any light on the subject.
Finest regards.
Daz