Dynamic memory
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 28 10:34:46 PDT 2015
On 7/28/15 1:26 PM, Binarydepth wrote:
> On Tuesday, 28 July 2015 at 17:07:47 UTC, Steven Schveighoffer wrote:
>> On 7/28/15 12:59 PM, Binarydepth wrote:
>
>> When indexing, it always goes out to in. So nam[0] is the first
>> element of type int[2], and nam[0][0] is the first integer in that
>> first element.
>
>
> I don't get what you mean here. In general I understood that in D
> multidimensional arrays are a group of arrays.
What I mean is the first index operation operates on the entire type.
The second one operates on the element that the first retrieved, and so on.
-Steve
More information about the Digitalmars-d-learn
mailing list