byLine(n)?

helxi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 11 06:00:22 PDT 2017


On Sunday, 11 June 2017 at 12:49:51 UTC, Cym13 wrote:
print each line
>
> byLine doesn't reall all input at once. Using byline and take 
> you are effectively reading only the right amount of lines and 
> not reading the rest. You already have what you want, what 
> makes you think the contrary?

Oh it was my lack of understanding then. Thank you. I would also 
be really humbled if you demonstrate a faster approach of 
achieving the goal of the program :) (without explicitly using 
loops and conditions)


More information about the Digitalmars-d-learn mailing list