1)



string   str[n]={"hello", ...};
vector<string> strArray(str,str+n);


2)



vector<string> strArray;
strArray.push_back("hello");
strArray.push_back("world");