I am writing a subroutine to write data to a text file. The function, DisplayResults takes a structure which contains the results.
All of the results are stored in a vector of tuples
It is iterated over to obtain each record.
Within each record is a vector of positions and temperatures.
I would prefer that after a single record is written, the next is written the the right of the previously written data. In other words, I would like to write across the file instead of down. Or again another way to think about it, After the inner loop completes and moves to the outer, I want the next block of data to be to the right.