than read each line into a variable of type string
than split the string into an array of type string( or a vector of type string)
and finally convert each element of the array/vector into a double
by using atof
Thanks, it is a good idea, but I have to read one element at time not a line. :(
So, the sequence is:
1 read first element from column 1
2 use it as an argument in my different function (let be X)
3 read next element from 1 column
4 call function X with element 2