Re: Any additions for write-to-file short program

2021-11-19 Thread pascal111 via Digitalmars-d-learn
On Friday, 19 November 2021 at 23:05:03 UTC, H. S. Teoh wrote: On Fri, Nov 19, 2021 at 10:21:52PM +, pascal111 via Digitalmars-d-learn 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'

Re: Any additions for write-to-file short program

2021-11-19 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Nov 19, 2021 at 10:21:52PM +, pascal111 via Digitalmars-d-learn 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

Re: Any additions for write-to-file short program

2021-11-19 Thread Imperatorn via Digitalmars-d-learn
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 |

Re: Any additions for write-to-file short program

2021-11-19 Thread pascal111 via Digitalmars-d-learn
On Thursday, 18 November 2021 at 23:09:28 UTC, H. S. Teoh wrote: On Thu, Nov 18, 2021 at 10:20:48PM +, pascal111 via Digitalmars-d-learn wrote: In next program that rewrites original written texts into new files, I see that it may need some additions or we can accept it like this because

Re: Any additions for write-to-file short program

2021-11-18 Thread Stanislav Blinov via Digitalmars-d-learn
On Thursday, 18 November 2021 at 22:20:48 UTC, pascal111 wrote: In next program that rewrites original written texts into new files, I see that it may need some additions or we can accept it like this because it's just a simple program that achieve its task and doesn't need any philosophical

Re: Any additions for write-to-file short program

2021-11-18 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Nov 18, 2021 at 10:20:48PM +, pascal111 via Digitalmars-d-learn wrote: > In next program that rewrites original written texts into new files, I > see that it may need some additions or we can accept it like this > because it's just a simple program that achieve its task and doesn't >

Any additions for write-to-file short program

2021-11-18 Thread pascal111 via Digitalmars-d-learn
In next program that rewrites original written texts into new files, I see that it may need some additions or we can accept it like this because it's just a simple program that achieve its task and doesn't need any philosophical additions. Example: Original text: Learning C doesn't impact