Environment: C, C++, Dev-C++ using WinBGim ( this i can change to any window support flavour).
< Read the place for keyboard interrupts ?? how>
store last interrupt from keyboard.
store current time
while ( ! keyboard interrupt)
{
while ( (current time - stored time) < timeout);
<kill application ?? how to abort window/console application?? SYSTEM(EXIT??)>
}
can anybody help me with references to look, example code for suitable calls please.. Even if i try to open another thread, i am not sure how to read the interrupts.. Did this in RTOS, by using RTOS calls.. it worked without i understanding it.. lol Can someone help me please ....