>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);
I prefer the second method, prolly because i have never used the first :P
Tooie
>
>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 |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST