How do I define size of C++ Vector in a Parameterised Constructor

前端 未结 0 1909
感情败类
感情败类 2021-01-27 11:01

I want to initialize my vector to it\'s size (in this case - 5) from a parameterised constructor which I\'ll be calling from the main function.

class OrderedStrea         


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