Markusl
April 29th, 1999, 04:13 PM
Are there anything similar to Strcat in VC that works with CString?
And how do I use it?
And how do I use it?
|
Click to See Complete Forum and Search --> : Question about CString Markusl April 29th, 1999, 04:13 PM Are there anything similar to Strcat in VC that works with CString? And how do I use it? LALeonard April 29th, 1999, 04:26 PM Like this: CString s1("MFC"); CString s2("is"); CString s3("fun!"); CString s4(s1 + " " + s2); s4 += " " + s3; // The "+=" operator mimics strcat. HTH. (You might want to peruse the CString class members in the help.) LA Leonard - http://www.DefinitiveSolutions.com codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |