Good day!

I'm parsing a file and I put each line into vector of string datatype. From that vector I'm accessing certain dataline which I need to concatenate. the problem is upon concatenating the 8th line of data, segmentation fault(core dumped) error appears. But the 1st seven lines that were concatenated resulted into successful operation. Why is that so? Any idea? Thanks!