Cpp StringBuffer Cat is a method used for concatenating two StringBuffers. It is a part of the std::string library in C++. The std::string library provides a number of different methods for manipulating and working with strings.
str2.append(" of C++ programming"); // adding more words using append() method cout << "str2 : " << str2 << endl;
return 0; }
In this code example, we have used the append() method for concatenation. We have two strings "str1" and "str2" and we have concatenated them using the + operator and append() method. We then added more words to "str2" using the same append() method.
Package Library: std::string
C++ (Cpp) StringBuffer::Cat - 30 examples found. These are the top rated real world C++ (Cpp) examples of StringBuffer::Cat extracted from open source projects. You can rate examples to help us improve the quality of examples.