How to ensure string compatibility In D?

Stefan Koch uplink.coder at googlemail.com
Tue Jan 22 19:05:32 UTC 2019


On Tuesday, 22 January 2019 at 16:47:45 UTC, FrankLike wrote:
> On Tuesday, 22 January 2019 at 16:18:17 UTC, Adam D. Ruppe 
> wrote:
>> Use "mystring"w, notice the w after the closing quote.
>
> Or toStringz is not work like c_str() in C++?

stringz creates a char*
but you need a wchar*


More information about the Digitalmars-d-learn mailing list