Hello,
I am trying to put 2 strings together into one
(i.e string1 is "ab", and string2 is "bc" the result is "abbc").

In Visual C++ 6.0 - Console application :
How can I do that ?
Need sample code, please.
(I have tried using the function strcat - but compiler doesn't know this
function)

Thanks :)

Re: do strcat in VC console application by David

David
Sat May 07 07:52:06 CDT 2005


"John M" <nobody@nospam_please.com> wrote in message
news:OJtHwBuUFHA.1404@TK2MSFTNGP09.phx.gbl...

> I am trying to put 2 strings together into one
> (i.e string1 is "ab", and string2 is "bc" the result is "abbc").
>
> In Visual C++ 6.0 - Console application :
> How can I do that ?
> Need sample code, please.
> (I have tried using the function strcat - but compiler doesn't
> know this function)

strcat is fine - all you have to do is include the right headers and
link the right library.

Dave
--
David Webber
Author MOZART the music processor for Windows -
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mzusers/mailinglist.htm