Hi all,
Is there a way, to have a program in C, react to events,
such as a key stroke?
I mean, to have the program be event driven, for example - no matter at what point the execution of the program is, if key is pressed - it should execude func().
Any pointer, example code, book referance or url will be very welcome.
Thanks.
(yes, I am new to c...)
Is there a way, to have a program in C, react to events,
such as a key stroke?
I mean, to have the program be event driven, for example - no matter at what point the execution of the program is, if key is pressed - it should execude func().
Any pointer, example code, book referance or url will be very welcome.
Thanks.
(yes, I am new to c...)