How can I convert the following C to D.
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jan 21 15:47:34 PST 2015
On Wed, 21 Jan 2015 23:44:49 +0000
anon via Digitalmars-d-learn <digitalmars-d-learn at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150122/5124dd4e/attachment.sig>
More information about the Digitalmars-d-learn
mailing list