www.digitalmars.com         C & C++   DMDScript  

D - better io?

reply "Michael T. Coumbes" <japh flashmail.com> writes:
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
Apr 22 2004
next sibling parent "Michael T. Coumbes" <japh flashmail.com> writes:
Sorry about double post. I posted my other message last night.
Didn't notice it had showed and thought it hadn't.

Michael Coumbes
Apr 22 2004
prev sibling next sibling parent Maik Zumstrull <Maik.Zumstrull gmx.de> writes:
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.
Apr 23 2004
prev sibling parent Stephan Wienczny <wienczny web.de> writes:
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
Apr 23 2004