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/fwrite
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="James Kuyper, post: 5029617"] I was pointing out that it's a difference in the standard headers. #include <stdio.h> is permitted in both languages, but the #definition of NULL that results from that #inclusion can be a very weird animal, from a C point of view, if you're using C++ to compile it. I believe that the main point of defining nullptr was to allow #define NULL nullptr I wasn't addressing the specific issue of fread/fwrite, but the more general issue of whether it's a good idea to rely upon a C++ source for information about the C standard library. There are differences; there aren't many, and they aren't major, but they do exist. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
fread/fwrite
Top