What is your operating system? Are you trying to write a Console Application or a GUI Application?
WolfPack
Postaholic
2,051 posts since Jun 2005
Reputation Points: 572
Solved Threads: 115
it can be done easily, though the libraries needed are pretty much platform specific as they depend on operating system calls which themselves rely on hardware calls.
Basically you have a loop which polls the keyboard (or waits for input from the keyboard) and quits when input is received (or calls a function when input is received depending on that input).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Could you please post the code? I usually dont like running other people's exe files.
WolfPack
Postaholic
2,051 posts since Jun 2005
Reputation Points: 572
Solved Threads: 115