Hi.
I would like to know how to concatenate characters into a string that is an element of a vector.
For example:
string dataTemp("today");
std::vector<string> vecTemp;
vecTemp.push_back(dataTemp);
// I want to add characters into the tring element of vecTemp
vecTemp[0] += " is Saturday." // Is that right?
I would like vecTemp[0] to be "today is Saturday."
Thanks,
Kuphryn