Does this loop look at all familiar?? (create a names 2D array, change the rows from 4 to 7)
for (int row =0; row<4; row++){
for(int col=0; col<2; col++)
fin>>names[row][col];
for(int col=0; col<6; col++)
fin>>scores[row][col];
}// end of outer for
Also you had two ifstreams declared when you meant to have 1 ifstream and 1 ofstream. Make those changes, and add names[row][0] and names[row][1] to your cout, add a matching fout statement and you are good to go.