Hi, I've been trying to analyze the source code to some applications but so far I've been unable to figure out how to receive user input while the program is of doing something else.
My program consists of a small list of items which are being constantly sorted. The problem is, receiving user input the "traditional" way cause the whole thing to stop completely until the user presses "enter". I want to do it in a way the program keeps going UNTIL the user hits 'c', for instance.