import strangeness with std.stdio.write

psychoticRabbit meagain at meagain.com
Tue Feb 13 14:27:15 UTC 2018


On Tuesday, 13 February 2018 at 14:21:31 UTC, bauss wrote:
>
> What you can do is use aliases to use both functions.
>
> import io = std.stdio;
>
> void main()
> {
>     import file = std.file;
>
>     file.write("hello");
>     io.writeln("hello again");
> }

that's a nice simple solution.

thanks.



More information about the Digitalmars-d-learn mailing list