Open MPI with D

bearophile bearophileHUGS at lycos.com
Fri Nov 25 01:12:34 PST 2011


Jude Young:

> Is there an easy way to turn D style (string[] args) into C style?

Maybe something like this (not tested)?
const int argc = args.length;
const char** argv = array(map!toStringz(args)).ptr;

Bye,
bearophile


More information about the Digitalmars-d mailing list