std.stdio.File is throwing with the message of: "Access Violation"
Kagamin
spam at here.lot
Fri Aug 20 09:03:03 UTC 2021
On Wednesday, 18 August 2021 at 17:56:53 UTC, Ruby The Roobster
wrote:
> When I removed those two lines of code, the program ran
> perfectly without displaying any error or throwing any
> exception...
The errors aren't always nicely located and can be elsewhere. Try
to write a minimal runnable example. Also that cast won't work,
you don't really know what you're doing there, use toStringz
instead.
More information about the Digitalmars-d-learn
mailing list