string concatenation

bearophile bearophileHUGS at lycos.com
Sun Apr 8 06:10:04 PDT 2012


dnewbie:

>    string s = toUTF8(v) ~ ", world!";
>    MessageBoxA(null, s.toStringz, "myapp", MB_OK);
>    return 0;
> }

I suggest to compile all your code with -property plus -w (or 
-wi), unless you have some specific needs to not do it.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list