I like to use
sprintf(buf, "%sblah blah", buf);
It seems to respond better..
but thats just me
At 02:52 PM 8/16/99 -0700, you wrote:
>When you are adding to a buffer before sending it to the
>character, which is the more suitable method?
>
>1)
>
>sprintf (buf + strlen(buf), "blah.....");
>
>or 2)
>
>sprintf(buf, "%sblah......", buf);
>
>Or do these two end up the same at the binary level
>anyway?
>
>Thanks,
>Chuck
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.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