Relative Content

Tag Archive for c++string

Creating an array of string pointers

I’ve reviewed many of the previous entries for this, but can’t figure out why my (seemingly simple) construct doesn’t work:
I want to create an array of pointers to previously-defined strings (char *). Here’s my
construct: