Re: [CODE] Findind an empty string..

From: Phil Durand (phildurand@home.com)
Date: 05/20/99


ARG! I should have known...

> if (*GET_TITLE(ch) == '\0')
>   empty;

Ok, but since I want to avoid asking stupid things like this... I'm going to
try and explain what I think this means (I'm still learning c/c++)

Using * points this to the fist character of ch->player.title right? cuz its
a bunch of chars? like char *title right?

If I'm right, but I dont really seem to understand, it'd be cool if you
explained it (I hated pointers in c++ class)

Thanks for the help!


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



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