Thread overview
better io?
Apr 23, 2004
Michael T. Coumbes
Apr 23, 2004
Michael T. Coumbes
Apr 23, 2004
Maik Zumstrull
Apr 23, 2004
Stephan Wienczny
April 23, 2004
I have looked and failed to find more input/output functions than importing std.c.stdio Are there any? Possible something like C++ streams? Just wondering becuase printf and all its friends are IMHO a pain to use.

Thanks to all who reply,

Michael Coumbes
April 23, 2004
Sorry about double post. I posted my other message last night. Didn't notice it had showed and thought it hadn't.

Michael Coumbes

April 23, 2004
Michael T. Coumbes schrieb:

> I have looked and failed to find more input/output functions than importing std.c.stdio Are there any? Possible something like C++ streams?

Sure.
http://www.digitalmars.com/d/phobos.html#stream

Note that the standard streams are:

File stdin, stdout, stderr;

(defined in std.stream)

I think the documentation doesn't specifically mention that. It is kinda obvious, though.

April 23, 2004
Michael T. Coumbes wrote:

> I have looked and failed to find more input/output functions
> than importing std.c.stdio Are there any? Possible something
> like C++ streams? Just wondering becuase printf and all its
> friends are IMHO a pain to use.
> 
> Thanks to all who reply,
> 
> Michael Coumbes

You could also try to use the new dsc beta.
http://dsource.org/projects/dsc/

Have a lot of fun