hey guys,
I'm new to programming so please bare with me. My problem is that how do i scan/read a blank space? My WHILE loop terminates by typing "exit" no probs there, but when I need to keep the loop running i have to press "ENTER" key to continue running. How can I scan/read "ENTER" key?
Here's my while loop...
while (strcmp(end, "exit")!=0)
any suggestions? is there something I have missed out?
Thanks
I'm new to programming so please bare with me. My problem is that how do i scan/read a blank space? My WHILE loop terminates by typing "exit" no probs there, but when I need to keep the loop running i have to press "ENTER" key to continue running. How can I scan/read "ENTER" key?
Here's my while loop...
while (strcmp(end, "exit")!=0)
any suggestions? is there something I have missed out?
Thanks
Comment