Reading formatted file

a11e99z black80 at bk.ru
Thu Jun 27 13:55:51 UTC 2019


On Thursday, 27 June 2019 at 13:52:43 UTC, a11e99z wrote:
> On Thursday, 27 June 2019 at 13:31:23 UTC, Tabamon wrote:
> 1) try to google "dlang read text file", most probably 1,2,3 
> link will help to u.
> 2) https://dlang.org/library/std/file/read_text.html
>     string content = readText( fileName );

3) for matrix reading better to use byLine()
https://dlang.org/library/std/stdio/file.by_line.html (see the 
samples below)


More information about the Digitalmars-d-learn mailing list