Home > Back-end >  The vector as a private member variables of a class, in the constructor to initialize
The vector as a private member variables of a class, in the constructor to initialize

Time:09-18

Consult the great spirit guide: vector as a private member variables of a class, how in the constructor initializes the

CodePudding user response:

Reference:
The vector is used to implement the two-dimensional array/vector
http://blog.163.com/tab_98/blog/static/1192409720163483128182/

CodePudding user response:

Vector Array;
This definition and behind you use is different,,,
To:
Vector Array;

CodePudding user response:

Using the initialization parameter list structure, using private object name
When inheritance is to use the name of the class structure
Class as a member, use the object name structure
  • Related