std.format doesn't want to work
frame
frame86 at live.com
Sun Oct 17 03:55:23 UTC 2021
On Saturday, 16 October 2021 at 22:47:09 UTC, solidstate1991
wrote:
> When I make this call
> ```
> format(" %3.3f"w, avgFPS);
> ```
> my program immediately crashes with an access violation error.
> The debugger out is different between x86 and x86-64.
>
> I've made all sanity checks, so I need some other suggestions.
I think it would be helpful to know what type avgFPS is and what
you do with the output of format(). Access violation is mostly an
access to a null pointer.
More information about the Digitalmars-d-learn
mailing list