Using the "Array of Strings" example from the String Reference page gives C++ error

The terms String and string mean different things and are not interchangable.

A string is a null terminated character array aka c_string.

A String is an object of the String class.