Best way to save/load an object to file?
Lutger
lutger.blijdestin at gmail.com
Thu Jun 19 07:56:04 PDT 2008
Saaa wrote:
> As the subject says : )
>
> I could make my own personal loading saving functions of all the specific
> variables in the objects, but I'd love there to be an easier way than
> that.
If you use Tango, you'll probably want to look into protocols. Haven't used
it myself yet, so I can't comment on it. There might be other serialization
code around somewhere over at dsource though, arclib used to have some but
I believe that makes use of Tango's now.
More information about the Digitalmars-d-learn
mailing list