Dynamic memory

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 28 10:51:07 PDT 2015


On 07/28/2015 10:26 AM, Binarydepth wrote:

 > In general I understood that in D
 > multidimensional arrays are a group of arrays.

The confusion comes from the fact that D does not have multidimensional 
arrays. (Neither C and nor C++.)

The array syntax is simple.

Definition:

     Type[] name;

Indexing:

     name[i];

Done... :)

Yes, 'Type' can be an array but that does not change anything.

Ali



More information about the Digitalmars-d-learn mailing list