Forum Discussion
No RepliesBe the first to reply
If I use getchar, problem will occur: the flow will stopped at the very position of getchar() waiting for my inputs from stdin. But that's not what I want it to be. The program should not be halted if I type nothing, but will immediately put to the end If I press anything on my keyboard. Could anyone help me out ? Thx :D