Reading a file of words line by line

mark mark at qtrac.eu
Tue Jan 14 16:45:13 UTC 2020


Should I have closed the file, i.e.,:

     auto file = File(filename);
     scope(exit) file.close(); // Add this?



More information about the Digitalmars-d-learn mailing list