View Full Version : fwrite odd results
06-01-2001, 03:26 AM
hi. I try to use fwrite to make a binary file of a scene but with one particular scene, it write an additionnal octet where it doesn't. What happens ? Have you already heard or encounter something like this?
help is welcome ;-)
06-01-2001, 03:31 AM
But this sounds like some aligning issue. Instead of writing a whole structure, write the structures members seperatly. Might help.
06-01-2001, 04:23 AM
I found the problem, it's because I open the file only with the 'w' option instead of the 'wb' one .
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.