How to read csv file cell by cell in c++?
I am still beginner, I would ask if there is a way to read a csv file with c++ cell by cell via for example two nested loop, the outer for loop iterates over the rows, and the inner for-loop iterates over the columns. e.g. int getValue(row,columm){ int value; //here should be the code for example return value;} Then one would call this, e.g. getValue(4,10) then it returns the value at the 4th row and at the 10th column My goal if I find such a function, I would create a 2D array, each 1D array of it, has two pair (row,column) then I enter my wanted paired and iterate over the function to obtain finally a list of row, column, its picked value row,column,its picked value And finally I can export it to csv file I searched in google, but it is advanced to me, I didnt found what I looked for, any help please to find such a function as described above?