Table of Contents        Previous topic       Next topic       

C++ COMPILER LIBRARY FUNCTIONS->String Class Functions->Member Functions->operator+=

#include <string>

string& operator+=(const string& str)

Appends the data of string str to the data.

string& operator+=(const char* s)

Appends the array of char of length strlen(s) with a first element s to the data.

string& operator+=(char c)

Appends the character c to the data.