How to add a number somewhere in a vector and move following numbers one spot?

前端 未结 0 1210
小蘑菇
小蘑菇 2020-12-13 03:46

I have a vector with 7 slots. I want to add a number between slot 0 and 1 and move the following numbers one slot.

For example I have the numbers 2, -5, 14, 21, -7, 0

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