Hey guys,
I'm working on a program wherein the main function of my program is a tautological while loop which repeatedly gets input from the user and displays the appropriate output... and I'm interested in getting it to run in real time. I was wondering if anybody had any tips on how to do this?
I had thought about possibly trying a loop which would run every .25 seconds, but I don't think that would work with typing input (right now I'm using fgets). I'm completely stumped. Any thoughts?
Thanks in advance.