Using pointers to work on huge files

hello everybody,

Right now I'm working on huge data files, and some day earlier I had succeded to convert sample files from csv to txt format thanks to the help I got in this forum.
But since my files are very big and they'll take a very long time to be converted into the format i needed, I thought of using pointers to pointers as 2D arrays in order to speed up the process, and for this reason I need a help in order to realise my idea since I very new to programming.

thanks in advance.
I thought of using pointers to pointers as 2D arrays in order to speed up the process
I can't see how this would help.

What does this convertion process do?
What does this convertion process do?

http://www.cplusplus.com/forum/beginner/65178/

How big is your file / How long does it take? It might just take a while to read/parse it.

Forgive me for assuming this is a console application, but the less you print to the screen the faster it will go (and it will go MUCH faster).

If your code goes something like "Read a line, parse it, print a line to a file", then this will take longer than if you had the program read the whole file first and then start with the computation.

I wanna read numerical data that are saved under csv format and save them under .txt format, but my files are of size 180 Mo and I need a fast way to do the conversion between the two formats and to be able to performe some operations on the data, eg: the mean of all the elements of the same line,,,,
How long does it take?
it was 2 hours but I didn't let it finish the operation !
Can you give an example of the first input line and first output line please, just to clarify what you're doing.
Topic archived. No new replies allowed.