|
-
March 20th, 2003, 02:30 AM
#1
Senior Member
help with fread in C
I need to write a function in C that reads a small text file , stores every character in a variable, and then stops reading when it reaches EOF. I assume I need to use fread();
I need precise info on my problem, I have been searching around only finding which parameters go into fread(); but no luck on how to loop until end of file.
Any help will be greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|