Hii everyone.
this is my first post and i am new to file handling in c as well.
I have to draw a graph from two files each containing two columns e.g
file A ........................... file B
10 0.027 .......................10 0.022
20 0.037 .......................20 0.030
100 0.077 .....................100 0.065
200 0.099 .....................200 0.080
...... .............................. ........
As you can see the first column of both the files are same.
I need to draw a graph between A.col1 and (A.col2/B.col2).
Now, how do I take input from the files A and B which contain unknown number rows.
Tried using feof() got segmentation fault error