I have a array of numbers in a txt file as shown below
I want to read 2numbers fore every loop.(139.344 for first loop. 140.345 for 2nd loop)
I am using fseek(file,(j-1)*6,SEEK_SET);
wher j-1 give 3,5,6..
but I am not able to read the correct numbers fore every-loop. It read first 139,344 correctly and then 0, it is not pointing he correct line.
can anybody help me with this.