little thing - D and phobos naming conventions
Anders F Björklund
afb at algonet.se
Sat Oct 28 00:50:06 PDT 2006
Jarrett Billingsley wrote:
>>I do miss a cheap/easy way to grab input like in C# w/ Console.ReadLine().
>
> how about
[...]
> din.readf("%d %f", &x, &y);
>
> ?
It still doesn't work in GDC, though:
din.readf("%d %f", &x, &y);
dout.writef("%d %f", x, y);
3 3.14
0 nan
And I really don't like the din/dout.
> I agree, this should be available in std.stdio, but..
It really should. And "writeln" too.
The alternative libraries work, but.
--anders
More information about the Digitalmars-d
mailing list