August 9th, 2012, 09:24 AM
Writing an array to a text file
I have a giant 2D array of numbers. I can write them to a file in rows and columns just the way I want by iterating through the contents of rows but looping through the array is time consuming. So, I was wondering if there is an efficient way to this.
August 11th, 2012, 12:26 AM
Re: Writing an array to a text file
A loop is not inefficient. See my reply to this thread for an efficient way of minimizing disk I/O.
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.