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