Initialize object with array in C++

后端 未结 0 405
伪装坚强ぢ
伪装坚强ぢ 2020-12-23 22:20

For a simple Vector class in C++ one could have something like this

class Vector {
  int _length;
  float* _values;
public:
  Vector(int length,          


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