Код: Выделить всё
One, two, num one, num two
Name one, This is sentence one., 1, 2
Name two, This is sentence two. Next sentence could have comma, or not., 3, 4
Name three, This is sentence three., 5, 6
Name four and more, This is sentence four. This is an addition to the sentence, 7, 8
Код: Выделить всё
getline(infile, nameArray[index]);
getline(infile, nameArrayTwo[index]);
getline(infile, nameArrayThree[index]);
getline(infile, nameArrayfour[index]);
Подробнее здесь: https://stackoverflow.com/questions/793 ... e-to-array