[ back to toc ]

Day recognition/file manipulation hoykeys

Date: 2002/03/09 01:23

Q:
Greetings!
I'm using C in dos/windowsX. Can you please teach me the syntax so that
the .exe program would recognize the up and down arrow keys for navigation
through it. I would also like to ask you how to use the F1, F2, and F3 for
exiting, printing, and saving respectively.
Thank you very much.
A:
I do knot know. This is operating system specific question and also
depends ont he compilter you use. There is some function that I use many
years ago, like kbhit() or something like that, which returns some key
code. But I do not remember.

Regards,
Peter

[ back to toc ]