Linking a C program with D library
Joe
jma at freedomcircle.com
Wed Aug 15 23:20:53 UTC 2018
On Wednesday, 15 August 2018 at 06:39:50 UTC, Mike Parker wrote:
> String literals are implicitly convertible to const(char)* and
> are guaranteed to be nul-terminated like a C string, so this
> works:
>
> [...]
>
> Does that help?
Yes, indeed. I think I possibly read about literal strings being
nul-terminated somewhere but it must've slipped my mind.
More information about the Digitalmars-d-learn
mailing list