The standard library that comes with modern C++ compilers simplifies the treatment of character strings by keeping track of their length and allowing other manipulation. We discuss classes later in this course, but for now we can treat it as just another variable type.
Here is the same code with the string class for the variable
<string>header and we do not specify the length of the string when we declare it. Also notice that
coutknow how to process the string type in a natural way.