multidimensional array

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 28 00:48:45 PDT 2014


On Sun, 28 Sep 2014 04:24:19 +0000
Joel via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> wrote:

> struct Spot { bool dot; }
> spots = new Spot[][](800,600);
btw, does anybody know why i can do `new ubyte[256];` but not
`new ubyte[256][256];`? hate that.
-------------- 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/20140928/ac00c518/attachment.sig>


More information about the Digitalmars-d-learn mailing list