How can I convert the following C to D.

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 21 16:18:42 PST 2015


anon:

> I got it working with.
>
> auto info = new Info[][](hl, vl);
>
> and changing the logic so as not check for the NULL.

That's probably a better and simpler translation. I have tried to 
translate your original code too much literally.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list