Writing to two files at once

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 21 14:02:41 PDT 2015


On 05/21/2015 01:56 PM, wobbles wrote:

> What I ended up doing was creating an OutputRange that contains the
> files I want to write to.
> On OutputRange.put I simply print to print to all the files.

Just like MultiFile example here: :)

   http://ddili.org/ders/d.en/ranges.html#ix_ranges.OutputRange

Ali



More information about the Digitalmars-d-learn mailing list