Simple array problem

Giovanni Di Maria calimero22 at
Sat Apr 4 09:09:44 UTC 2020

I am very new to D Language and I apologize for my bad question.

Why the followin code gives me the error?

  Error: only one index allowed to index `int[3][3]`

import std.stdio;
import std.array;
void main()
     int[3][3] matrix;

Thank you very much

More information about the Digitalmars-d-learn mailing list