Re: [CODE] Help

From: Akuma/Chris Baggett/DOOMer (doomer@BAYOU.COM)
Date: 12/06/97


At 08:36 AM 12/6/97 -0600, you wrote:
>Umm, you are really confusing me.  Daniel sent a letter saying that to have
>an array of strings, I needed this:
>
>char *abil_desc_parse[] = {
>    "This is one string.",
>    "This is another string.",
>    "This is the last one."
>  };
>
>And this is what I already had:
>
>char *abil_desc_parse = {
>"blah blah blah blah blah \r\n
> blah blah blah blah blah\r\n",
>"\0"
>};

well, the difference is the [] at the end of the char *
that means it's not just _A_ (one) ptr, but an ARRAY of pointers.
that's the problem.


Akuma the Raging Coder

  +------------------------------------------------------------+
  | "The poets talk about love, but what I talk about is DOOM, |
  |      because in the end, DOOM is all that counts." -       |
  |   Alex Machine/George Stark/Stephen King, The Dark Half    |
  |        "Nothing is IMPOSSIBLE, Just IMPROBABLE"            |
  |   "Easier Said Than Done, But Better Done Than Said..."    |
  +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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