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.