C++ Changing array element changes another element

后端 未结 0 959
醉话见心
醉话见心 2021-02-06 07:27

So I have a 2d array of vectors, and apparently changing the element at an index can also change the one above it. Here is the code that is causing me issues:

x_a         


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