-
August 9th, 2012, 08:24 AM
#1
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 10th, 2012, 11:26 PM
#2
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.
Best Regards,
BioPhysEngr
http://blog.biophysengr.net
--
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|