Thanks, yes you are right about the endianness and the fact that it's not appropriate for text files. But no problem, I wrote this specifically for a binary file format which uses little endian(just...
Type: Posts; User: Seggaeman
Thanks, yes you are right about the endianness and the fact that it's not appropriate for text files. But no problem, I wrote this specifically for a binary file format which uses little endian(just...
I don't get what you mean actually, could you give an example? Sure it works with class data and it's also handy for writing entire structs from memory to a file.
Hi
I've overriden the << and >> operators to write data in binary format (instead of text). The function seem to work ok but I'd like to know if they are sufficient and whether they be...