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
anon via Digitalmars-d-learn Wed, 21 Jan 2015 15:45:39 -0800
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