SyntaxFix
Write A Post
Hire A Developer
Questions
Just testing for end of file with feof would do, I think.
feof