CString
-
how do i take 2 CStrings and join them to be 1? im a noobie so i have no clue and cant find anything to read about it
Example The following example demonstrates the use of CString::operator +. // example for CString::operator + CString s1( "abc" ); CString s2( "def" ); ASSERT( (s1 + s2 ) == "abcdef" ); CString s3; s3 = CString( "abc" ) + "def" ; // Correct s3 = "abc" + "def"; // Wrong! The first argument must be a CString.
-
how do i take 2 CStrings and join them to be 1? im a noobie so i have no clue and cant find anything to read about it
Take a look at this Article, you will find it intresting http://www.codeproject.com/string/cstringmgmt.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta