Home > Back-end >  The vector <int> a [10] initialization problem
The vector <int> a [10] initialization problem

Time:09-25



Class has a data member is not a point to vector A [10], how to quickly in the default constructor initializes the


Example:


Class A {
Vector a;

Public:
(A) : A (10, 4) {};
};

CodePudding user response:

Would you please speak Chinese? Is the vector array, also is to use an array to initialization vector
  • Related