Are there anything similar to Strcat in VC that works with CString?
And how do I use it?
Printable View
Are there anything similar to Strcat in VC that works with CString?
And how do I use it?
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