How to set array length for multidimensional static arrays

Namal via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 31 23:42:56 PST 2016


On Monday, 1 February 2016 at 07:41:33 UTC, Namal wrote:
> I understand that I cannot pass a variable to the static array 
> like in C++, and have to use dynamic arrays. But how can I set 
> the length for them without using a loop?

I mean std::vector in C++, not array.


More information about the Digitalmars-d-learn mailing list