Re: [CODE] Findind an empty string..

From: George Greer (
Date: 05/20/99

On Thu, 20 May 1999, Phil Durand wrote:

>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++)

Think you still need a bit more.

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

Right on first two, not quite there on the third.

>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)

Asking in RL is better than the list.

George Greer            | Mailing list archives   |

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

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