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.
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,,,,