Reading and writing a class to a (binary) file
Jacob Carlborg
doob at me.com
Mon Jan 7 10:33:42 PST 2013
On 2013-01-07 15:42, Omid wrote:
> Hi. As I am learning D as my first language, it may sound crazy. But I
> would appreciate if somebody tell me how to read and write a class (say
> with two objects, an integer an a char[20]) to a file (text or binary).
You can serialize it using Orange:
https://github.com/jacob-carlborg/orange
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list