CompuServe Thread

#Help with feof()…

2 messages in this thread
#41854From: BartJul 15, 1994 5:11 PM
I have just started programming… I have been experimenting with str res… Well I wrote a simple mailing list program… When I try to view the adress I get some continous loop… I used the feof() function right… The program will display each name and address but it keeps listing the last one… I know I am using the feof() right because if I use the option for it to stop if the value returned is !=0 it only lists the first selection… It doesn't seem to find the end of the file… I have read everything I can and I still can't find what I am doing wrong… Help, Bart
#41864From: matthew straneyJul 16, 1994 2:00 AM
Bart dude(couldn't resist), It would be easier for people here to help you, if you could export part of your code into an ascii file, and then incorporate that into your posting here, using `ascii send' or the like. It is near impossible to guess what your doing wrong. And I'm not saying that I know or could figure it out, just that we need to know/see more.