[OCLUG-devel] fgets issues
James Colannino
james at colannino.org
Mon May 30 18:14:12 PDT 2005
As a sidenote, I found a temporary solution. I re-wrote the while loop
to do the following:
while (1) {
text = getstring(file);
printf ("%s\n", text);
if (feof(file))
break;
}
That's probably not the best solution, and I'm still interested in the
answer to my original question, but for now I got it to work :)
(although I don't know if it's the best solution.)
James
--
My blog: http://www.crazydrclaw.com/
My homepage: http://james.colannino.org/
"A well regulated militia being necessary to the security of a free
state, THE RIGHT of the people to keep and bear arms SHALL NOT BE
INFRINGED." --United States Constitution, Second Ammendment
More information about the OCLUG-devel
mailing list