I have push_back(ed) Lines in 6 "places"/for 6 elements lika below in a 2D vector.
So each element of the 6 consist of different many "MainLines".
So when I am trying to get these out in the OutPut, I know I will use any kind of ::iterator and knowing begin() and end() of each element but I am not sure how to get that line correct. I have started this line out below for example 2DVector[1].
std::vector<std::vector<string> > 2DVector(5, std::vector<string>());
2DVector[i].push_back(MainLine.c_str());
ofstream OutPut("C:\\File1");
for( std::vector<string>::iterator it = 2DVector[1].begin(); it !=2DVector[1].end(); it++)
{
OutPut << 2DVector[1][*it];
}