Re: data structures

From: Jamie Squires (jsquires@EARTHLINK.NET)
Date: 01/20/98

Antioch wrote:
> Ok, so i've come across this thing that i can't identify in any of my C
> books and my head's starting to hurt from banging it on the wall:
> char **list_of_something;
> Looking through the code, it seems to store arrays of strings. However,
> I'm trying to figure out why they used something like this instead of
> creating a structure or just a regular character array.
> Can anyone identify this little deal and explain its usefullness?  I would
> appreciate it very very very very very very very much.

You're right in that it is an array of strings, or more accurately an
of pointers to chars.  This would be equivalent to writing the

        char *list_of_something[];


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST