Doubt - Static multidimension arrays

albert00 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 18 19:00:17 PST 2016


On Tuesday, 19 January 2016 at 02:54:03 UTC, cym13 wrote:
>> int[2][5] arr;
>>
>> ?
>
> How is that not rectangular? It's sounds like you're confusing 
> it with "square".

Ow my problem is:

int[2][2] arr;  // This works

int[2][5] arr;  // This not working

And I'd like to create the former.




More information about the Digitalmars-d-learn mailing list