Use this concatenation operator to add characters onto the end of this string. The operator accepts another CString object, a character pointer, or a single character. You should be aware that memory exceptions may occur whenever you use this concatenation operator because new storage may be allocated for characters added to this CString object.
const CString& operator +=( const CString& string );
throw( CMemoryException );
const CString& operator +=( TCHAR ch );
throw( CMemoryException );
const CString& operator +=( LPCTSTR lpsz );
throw( CMemoryException );
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CString Overview, CString Operators, Simple Value Types, CString::operator +