Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 23, 2004 better io? | ||||
---|---|---|---|---|
| ||||
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 Re: better io? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael T. Coumbes | 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 Re: better io? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael T. Coumbes | 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 Re: better io? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael T. Coumbes | 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 |
Copyright © 1999-2021 by the D Language Foundation