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 greerga@circlemud.org | http://post.queensu.ca/~listserv/wwwarch/circle.html +------------------------------------------------------------+ | 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