Log in an @nogc function

Guillaume Piolat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 17 03:47:54 PDT 2016


On Wednesday, 17 August 2016 at 10:45:01 UTC, Saurabh Das wrote:
> Is there any way I can log to a terminal or a file from inside 
> an @nogc function?
>
> Thanks,
> Saurabh

import core.stdc.stdio;
printf("am logging C-style\n");


More information about the Digitalmars-d-learn mailing list