Dynamic / resizable array type, and a crash problem

ivoras via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 14 13:50:03 PDT 2015


On Thursday, 14 May 2015 at 20:32:28 UTC, rumbu wrote:
> On Thursday, 14 May 2015 at 20:03:16 UTC, ivoras wrote:
>>
>> What would be the difference between Array!string and string[] 
>> ?
>
> std.array is used to manipulate or create built-in arrays from 
> various sources (ranges).
>
> For basic needs, you can safely use built-in arrays: 
> http://dlang.org/arrays.html
>
> Concatenation operator (~) is documented here: 
> http://dlang.org/arrays.html#array-concatenation

Thanks, everyone!

I'm experimenting to get a feel for the language. Do you have a 
suggestion about this example code: https://goo.gl/F7LCAg to make 
it more "D-like", idiomatic?


More information about the Digitalmars-d-learn mailing list