c++ std::vector: sum in a vector position its previous value

前端 未结 0 840
野性不改
野性不改 2021-01-13 02:11

I need to accomplish a simple task, which seems to be forbidden in c++ language.

I have a simple std::vector a{1.,2.,3}and I want to do thi

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