Dynamic length string array at compile time?

Steven Schveighoffer schveiguy at gmail.com
Tue Jun 6 14:26:01 UTC 2023


On 6/5/23 11:45 AM, Dany12L wrote:
> Hi, I'd be interested to know if it's possible to have a dynamic length 
> array containing strings generated at compile time.
> 
> 

Sure. Just do it. Probably the reason nobody answered the question yet 
is that it trivially works if you try it :) Unless you did try it and it 
didn't work? In that case, post your code, I'm sure we can fix it.

-Steve


More information about the Digitalmars-d-learn mailing list