Any additions for write-to-file short program

Imperatorn johan_forsberg_86 at hotmail.com
Fri Nov 19 22:45:56 UTC 2021


On Friday, 19 November 2021 at 22:21:52 UTC, pascal111 wrote:
> On Thursday, 18 November 2021 at 23:09:28 UTC, H. S. Teoh wrote:
>> [...]
>
>
> When I compiled the code after adding yours, I found this error 
> message:
>
> "untitled20.d:24:8: error: no property 'copy' for type 'ByChunk'
>    24 |        .copy(outputFile.lockingBinaryWriter); // copy 
> each block into output file
>       |        ^
> "

Did you import std.algorithm?


More information about the Digitalmars-d-learn mailing list