string to char array?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 3 20:25:24 PDT 2015


On Wed, 03 Jun 2015 11:59:56 +0000, Kyoji Klyden wrote:

> That's what I found so confusing about the opengl docs. Just guessing
> here but char* is a pointer to the first char in the string, then what
> exactly is char**? Is it pointing to the first char of the first string
> in an array?

it's a pointer to array of pointers to first chars of strings. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150604/9ea6d3a1/attachment.sig>


More information about the Digitalmars-d-learn mailing list