On Wednesday, 21 January 2015 at 23:47:46 UTC, ketmar via Digitalmars-d-learn wrote:
On Wed, 21 Jan 2015 23:44:49 +0000
anon via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:

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
this is not C.

Your right its c++

Reply via email to