How can I convert the following C to D.

anon via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 21 15:44:49 PST 2015


I have the following C code, how can I do the same in D.

Info **info;
info = new Info*[hl + 2];

int r;
for(r = 0; r < hl; r++)
{
	info[r] = new Info[vl + 2];
}
info[r] = NULL;

anon


More information about the Digitalmars-d-learn mailing list