How to store elements in 2d vector without knowing his width?

后端 未结 0 625
别跟我提以往
别跟我提以往 2020-12-30 19:41

I have a 1 dimensional vector

std::vector vec1 = {4, 5, 6, 7};

and I want to store these elements in a 2 dimensional vector

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