Multi-dimensional fixed arrays

DLearner via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 30 13:09:50 PDT 2015


Suppose:
'int [1][2] foo;'

Probably I misunderstand, but TDPL seems to say that foo has two 
elements:
foo[0][0] and foo[1][0]

as opposed to two elements:
foo[0][0] and foo[0][1]

Is this correct?


More information about the Digitalmars-d-learn mailing list