Compressing String and Manipulating It
Dear All,
I have a C++ code that prints such output.
|
AAAAA 00000 0.00264776 0.00264776 0.00264776
|
Now the output is very2 large with millions
of lines (~4/5Gb) in size.
My question are:
1. Is there a way I can print the binary format of this line into a file?
So that it doesn't take much memory on hard disk.
2. Is there a way to "recover" again those binary format, especially
for passing it to another C++ code processing.
3. Is it possible to compressed in binary on the fly without printing it
and store it in data structure e.g. vector or map?
Topic archived. No new replies allowed.