How to create an array when the size is a variable not a constant?

后端 未结 6 1771
半阙折子戏
半阙折子戏 2020-11-27 19:31

I\'ve got a method that receives a variable int. That variable constitutes an array size (please, don\'t offer me a vector). Thus, I need to init a const int inside my metho

6条回答
提交回复
热议问题