add element in string array c++ code example Example: how to put string in array c++ { string word; ArrayWithWords[d] = word; d++; }