How can I serialize a struct into a file in the style of C?
solidstate1991 via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jul 21 18:45:29 PDT 2017
Due to it's convenience, I was thinking on reading and writing
file headers by creating structs mirroring the layouts of actual
headers I would need. I've seen many examples of this in C,
however I' struggling using the same methods through the use of
code.stdc.stdio, especially as I can't really trace bugs from
fread.
More information about the Digitalmars-d-learn
mailing list