I'm a beginner to C, so please try not to laugh at the following question...
I am writing a short program that asks the user to input a string, then a small function manipulates the string. It then loops back to scanf, waiting for more user input. I understand how to end the loop if the user enters a particular string, but I want to end it when the user enters ctrl+d without having to press enter. What am I missing? Thanks.