Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
fread returns more than i want
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Ulrich Eckhardt, post: 2439001"] No, use the right functions for whatever you are doing. If you have a buffer containing text, that text will usually be followed by a null character, if there isn't one, you might add it. If your buffer contains other data, it might be perfectly possible that there is a null character in the middle - functions only reading a buffer up to the first null char are then not the suitable tool to handle such data. Uli [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
fread returns more than i want
Top