So, to print or not to print?

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 26 06:48:55 PDT 2016


On Tuesday, 26 April 2016 at 12:46:48 UTC, Seb wrote:
> the separation between std.stdio and std.file. At least I 
> expected that I can use `writeln` on files :/

You can...

auto file = File("name.txt", "wt");
file.writeln("hey");

> As mentioned on github I would love to see a proper dump 
> function and this would be quite useful for newcomers.

Yeah, dump has serious value, I'd support it.


More information about the Digitalmars-d mailing list