A bit of binary I/O
Chris Nicholson-Sauls
ibisbasenji at gmail.com
Sat Jan 20 17:11:02 PST 2007
Heinz wrote:
> In C++ you can write an entire structure to a binary file:
>
> http://www.gamedev.net/reference/articles/article1127.asp
> http://www.codersource.net/cpp_file_io_binary.html
>
> Can you do the same in D?
Sure, and it will work between instances of the program so long as none of the structure's
members are referances: pointers, object variables, arrays.
-- Chris Nicholson-Sauls
More information about the Digitalmars-d-learn
mailing list