Hey guys I'm new here, hopefully ill be able to contribute in the future but I have a question at the moment. I'm programming a multidimensional vector and I'm wondering how I can push_back to only the first dimension of the array.
vector<vector<string, int> > censoredWords;
this is the array declaration.
1 2 3 4
while (ss >> bufferString[0])
{
Words.push_back(bufferString); //line a
}
On line a this is where I want to push_back to the 1st dimension in the 2d array.