string s;
In C ++ string is a vector == pointer to start + length. But will there be a closing 0, as implicitly implied by Prat ?
class String{
private:
char * str; // pointer to string
int len; // line length
static int num_strings; // number of objects
static const int CINLIM = 80; // input limit for cin
}
In other words , the string container does indeed contain ONLY a pointer to a char, and there is no closing zero ?