Thread overview | |||||
---|---|---|---|---|---|
|
August 17, 2016 Log in an @nogc function | ||||
---|---|---|---|---|
| ||||
Is there any way I can log to a terminal or a file from inside an @nogc function? Thanks, Saurabh |
August 17, 2016 Re: Log in an @nogc function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Saurabh Das | 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");
|
August 17, 2016 Re: Log in an @nogc function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guillaume Piolat | On Wednesday, 17 August 2016 at 10:47:54 UTC, Guillaume Piolat wrote:
> 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");
Damn I should have tried that. I feel stupid now :(
Thank you!! :)
SD
|
Copyright © 1999-2021 by the D Language Foundation