string to char array?

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 3 04:28:13 PDT 2015


On Wednesday, 3 June 2015 at 11:23:09 UTC, Kyoji Klyden wrote:
> Ooooh okay, I'm starting to get it. I think this last question 
> should clear it up for me: When a string is made, how is the 
> struct Slice handled? What does ptr get assigned?

ptr is a pointer to the first char, in other words the address of 
the first char.


More information about the Digitalmars-d-learn mailing list