Strings in C++

A C++ string is not the same thing as a C string. In C, “string” is just a descriptive name, not really part of the language; it means an array of chars terminated by a zero. In C++, string is a defined type. A C++ string is an object which includes both an array of characters and an independent record of the length; the array of characters ... ................
................