FIle I/O

Nick Sabalausky a at a.a
Thu Sep 16 12:56:05 PDT 2010


"Graham Nicholls" <graham at rockcons.co.uk> wrote in message 
news:i6t9ig$1ffs$1 at digitalmars.com...
> I'm writing a program to take a file and convert it into a binary format 
> which
> matches the format produced by a system which we use.  If I get it right, 
> this
> will allow me to "replay" the file into the system.  However I can't find 
> how
> to do I/O in D.  I've got the "D Programming Language" and "Tango" books, 
> but
> not much there, and as a C/C++ programmer, Tango doesn't seem that 
> appealing
> :-).  Is there a tutorial anywhere?
> Thanks

File/path I/O is kind of a pain in Tango. You might want to consider 
D2/Phobos for that:
http://www.digitalmars.com/d/2.0/phobos/std_file.html

If you want to use D1/Tango though, the API reference is here:
http://www.dsource.org/projects/tango/docs/stable




More information about the Digitalmars-d-learn mailing list