
January 3rd, 2006, 01:52 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
1. "Premature Optimization is the root of all evil" -- These are wise words indeed.
2. strcat() is a C function and is found in the standard C library (libc.lib or something like that). It is pretty trivially implemented in a few lines of C code. Here's one implementation.
3. Speaking of efficiency, strcat() is rather inefficient anyway, unless you really know how to use it. It is probably better to have a pointer to the end of the source string and append characters that way. See my point 1 about premature optimization.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
|