The vector & lt; Vector
.
Tc Lear ();//directly clear will go wrong, and I need to t the size zero, how to break
CodePudding user response:
First one by one layer of the clear, in the outer layer,CodePudding user response:
One by one, the clear inner and outer layer,CodePudding user response:
STD: : vector: : resize (0);
CodePudding user response:
Test and two-dimensional vector can be directly the clear (), objects can be destructor,