On Mon, 21 Sep 1998, Leonardo Herrera L. wrote: >George wrote: >> On Mon, 21 Sep 1998, Andy Hubbard wrote: >[..] >> > buf, GET_NAME(ch), CLASS_ABBREV(ch), GET_AGE(ch)); >> >> This doesn't work on Borland C++ ... > >Ok... what about buf+strlen(buf)? That works, but by then you might as well do this: int i = 0; i += sprintf(buf + i, xyzzy); i += sprintf(buf + i, stuff); etc. Not saying you have to, just that it's a bit faster and none uglier. -George +------------------------------------------------------------+ | 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/15/00 PST