Hi. I was just wondering if there was a function that allows one to
execute a loop while waiting for input from the keyboard.
The only way I'm used to it is executing the loop with a scanf for example
inside the loop. But this will pause the loop waiting for input.
Hopefully you understand what I'm saying.
Thanks,
Mike
Example
while(1)
printf ("\a");
Now while this is looping I want to stop it by exiting with the stroke of
a single key anytime during this loop. How would this be done.
- Re: Get while in a loop Michael Roecken
- Re: Get while in a loop Glynn Clements
- RE: Get while in a loop David Buddrige
