Zelma Gephardt
Monday, January 16, 2012
How to read n bytes using fseek?
Your Ad Here
You're having fread put each block read from the file at &buffer[0]. In the while loop you should be calling fread with a pointer to a location in buffer that moves along as you read, so buffer gets filled with the contents of the file.
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment