>i wonder about endianity issue with double/float.. >is it a stupid question ? No but somewhat offtopic. SDL does not provide any facilities for converting floating point values between machines. If you don't know what you are doing, use integers and strings in your files (and network protocols)