string[] to char**

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Mar 23 14:42:08 PDT 2012


On 3/23/12, bearophile <bearophileHUGS at lycos.com> wrote:
> This is one way to do it:
>      immutable(char)** p = array(map!toStringz(data)).ptr;

This is asked so frequently that I think we could consider adding it to Phobos.


More information about the Digitalmars-d-learn mailing list