View Full Version : fwrite odd results
Bra'Tac
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 ;-)
AndersO
06-01-2001, 03:31 AM
OT
But this sounds like some aligning issue. Instead of writing a whole structure, write the structures members seperatly. Might help.
Bra'Tac
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 © 2018 vBulletin Solutions, Inc. All rights reserved.