On Thu, Mar 5, 2009 at 4:27 PM, Michael Comperchio <[email protected]> wrote:
> memset( buffer, 1000, 0);
> strcat(buffer, first_text);
> strcat(buffer, second_text);

Requires three (or two if 'rephrased') buffers, not the one the OP
mentioned, but workable. (Ignoring, of course, the dubious reasoning
behind the initial request.)

> or does strcat not exist in stdlib anymore?

It does. It even made it to <cstdlib>.

> I'm just returning to C/C++
> after a 10 year stint in the (gag) .NET world. But I was a C programmer
> for 15 year before that. Hope my memory isn't as bad as I think it is!
>
> For Sale: Nice Parachute, Used Once, Never Opened, Slightly Stained

If those two are related: Oh dear.


-- 
PJH

http://shabbleland.myminicity.com/ind
http://www.chavgangs.com/register.php?referer=9375

Reply via email to