dynamic array of static sized strings
Posted on 2002-05-31
I want to create a dynamic array of strings, each string of size 100. I know I can use char **ppMyArray, allocate the number I want, and then allocate each pointer to size 100. My question: Is there a way to create the array without the need to loop through and allocate each pointer to size 100?