Hi,
I've got a script with a do while loop that performs a function until a given condition. It performs it about 5000 times, and produces a result on each iteration. I've managed to get fortran to output the data to a .txt file, but it only outputs the result of the last iteration, but I need to to output every iteration to the same file so I get a whole table of data, and not just one row.
This is a coursework assignment, so I don't want to post the code I have, nor do I want any code written for me, but as we're allowed some help, I just want a pointer in the right direction.
Any help is much appreciated.
Thanks.
I've got a script with a do while loop that performs a function until a given condition. It performs it about 5000 times, and produces a result on each iteration. I've managed to get fortran to output the data to a .txt file, but it only outputs the result of the last iteration, but I need to to output every iteration to the same file so I get a whole table of data, and not just one row.
This is a coursework assignment, so I don't want to post the code I have, nor do I want any code written for me, but as we're allowed some help, I just want a pointer in the right direction.
Any help is much appreciated.
Thanks.