int x = 3; int y = 10; int arr [x][y];
x,y are known at the compile time and arr is a static array. I can't do that in D so what is the best way to declare an array of that size?
Namal via Digitalmars-d-learn Mon, 01 Feb 2016 03:21:07 -0800
int x = 3; int y = 10; int arr [x][y];
x,y are known at the compile time and arr is a static array. I can't do that in D so what is the best way to declare an array of that size?