The What
Description
This construct, feof
, tests to see if the resource is at the end-of-file. It lets you know if you are at the end of the file you are working with.
Parameters
handle
- A valid file pointer that is currently open and available, which was opened by fopen for example.
Return Values
Returns TRUE
if the the file pointer is at the end of the file or if an error occurs (such as a socket timeout); else you’ll get a FALSE
back.
You get WET when you swim. Stay DRY when you code.
More coming soon…keep checking back.