How to separate values of a line in a file and change them? c++

前端 未结 0 905
迷失自我
迷失自我 2021-01-02 05:17

I have a txt file like this:

3
5 4
3 6
7 8

and I want to add the first and second value (5+4, 3+6, 7+8), and then enter it in a vector.

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题