string to char array?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 4 15:33:13 PDT 2015


On 06/04/2015 03:28 PM, anonymous wrote:

 > Generally, a `char**` is a pointer to a pointer to a char. There may be
 > more pointers to chars behind the pointed-to one. And there may be more
 > chars behind the pointed-to ones. You can't know just from the type.

Yep, "C's biggest mistake":

 
http://www.drdobbs.com/architecture-and-design/cs-biggest-mistake/228701625

Ali



More information about the Digitalmars-d-learn mailing list