Thank you very much. That has helped me understand strings more. I realize this post is old, but I have a few questions:
Does this mean that strings are an object of the type class/data structure in the header "#include <string>", where the letters are stored in an array of characters, and *string name*.size() is a member function of the object or class/data structure?
C++ Strings A beginner's introduction to strings in C++