how to write a string to a c pointer?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 5 06:18:51 PST 2015


On Thursday, 5 March 2015 at 13:57:45 UTC, FG wrote:
> void main()
> {
>     string s = "ąćęłńóśźż";

Try with string s = "ąc\u0301ęłńóśźż";


More information about the Digitalmars-d-learn mailing list