if the return value of EOF is an int, then how can you test for it with strings? I currently have a pointer to the string and I use it to test chars. When I try setting up a loop to test for the EOF at the end of a text file and compile I get an infinite loop with puts only printing out the last word over and over. what am I doing wrong?
Thanx
Doug