T
Thomas
Hi,
Thanks to those who replied to my question.
Well the actual thing is when i make a program in C,user can only exit
from it when that particular code lie is executed.
In that line i use any suitable input function then i compare it using
if function. there if condition is true, it exits otherwise not.
Now i want this capability that user doesn't have to wait for that
particular line to be executed.
Whenever he presses a particular key, lets say Q, my program picks it,
compares and exit.
I mean that such function would be running in the background
simultaneously with other functions or lines of my program.
Is it possible and how?
Thanks to those who replied to my question.
Well the actual thing is when i make a program in C,user can only exit
from it when that particular code lie is executed.
In that line i use any suitable input function then i compare it using
if function. there if condition is true, it exits otherwise not.
Now i want this capability that user doesn't have to wait for that
particular line to be executed.
Whenever he presses a particular key, lets say Q, my program picks it,
compares and exit.
I mean that such function would be running in the background
simultaneously with other functions or lines of my program.
Is it possible and how?