I have a text file containing 6 columns, that are each 10 rows down. The columns need to be copied to two different arrays. The 1st, 3rd, and 5th go to one array; while the 2nd, 4th, and 6th columns will go to the other array. Since the ifstream function reads by line(in this sense, by row), it reads the values for both categories, and in the wrong order. I need to figure out how to read the 3 alternating columns into each 2-D array. Any help would be much appreciated.