reading file byLine
Jordan Wilson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Sep 3 17:25:58 PDT 2015
On Friday, 4 September 2015 at 00:18:15 UTC, Namal wrote:
> On Thursday, 3 September 2015 at 23:54:44 UTC, H. S. Teoh wrote:
>> [...]
>
> Thx Theo, this and the lack of foolproof tutorials were the
> reason why I gave up on D 2 years ago and went instead to C++.
> But I am not giving up this time. That being said, when do I
> have to import std.array and std.string? Every time I use
> std.array? I can obviously use arrays and strings without those
> libs.
My 2 cents, as someone who is newish to D, I'd also recommend the
above approach. I found the whole ranges thing to be hard to get
at first, but I do find myself using ranges + std.algorithm more
and more (even though it's mostly just basic map and filter).
More information about the Digitalmars-d-learn
mailing list