changing the output of `std.stdio.write'
Paul Backus
snarwin at gmail.com
Thu Jan 3 18:11:43 UTC 2019
On Thursday, 3 January 2019 at 17:59:28 UTC, Manfred Nowak wrote:
> According to this tutorial
> https://wiki.dlang.org/Defining_custom_print_format_specifiers
> it seems easy to change the format of the output for
> `std.stdio.writef'.
>
> But why is there no example for changing the output when there
> are no format specifiers?
>
> -manfred
According to the page you linked, functions that don't take any
format specifiers, like `write` and `writeln`, default to `%s`.
More information about the Digitalmars-d-learn
mailing list