|
can anyone help me
Hii all...
Hope you all are doing great.
I am actually trying to read an input text file. The file has some points, with each line having only one point. Like:
(1.0,1.0)
(0.0,2.0)
(1.0,2.0)
(1.0,0.0)
and so on.
I want to read and store them one by one, then add one with the another so that I will be able to get an output (3.0,5.0) (which I got by adding all the points).
Now I am able to read the points from a file. But I could not store them add them one with the other. can anyone help me with this issue.
|