Possible Duplicate:
How to output array of doubles to hard drive?
Hello everyone,
Sorry for asking the same question twice, I'm new at this and still learning how to use this site properly.
I want to store an array of floats/doubles to my hard drive in the form of a file (.txt .dat .bin, whatever, it doesn't matter).
I want that file to be a mirror image of what the original array looked like as it was sitting in the RAM. I also want to know how to read that data quickly and efficiently back into a program (basically copy that chunk of data from hard drive directly back into RAM and let the program know that "this" is an array of doubles).
Lastly, since I'm outputting huge volumes of data (up to a couple hundred MB, depending on the case) I need to be able to do this fast and efficiently.
Thanks in advance,
-Faken