|
-
April 29th, 1999, 04:13 PM
#1
Question about CString
Are there anything similar to Strcat in VC that works with CString?
And how do I use it?
-
April 29th, 1999, 04:26 PM
#2
Re: Question about CString
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|