11. Strings
A string is a sequence of characters. C++ has many methods to analyse or to change a string. C++-strings are the safe replacement for C Strings: const char*
. Strings need the header <string>
.
A string is a sequence of characters. C++ has many methods to analyse or to change a string. C++-strings are the safe replacement for C Strings: const char*
. Strings need the header <string>
.