I want to modify the length of a vector and at the same time delete the remaining elements if the new length is smaller than the original length of the vector. I do not know if there will be reserved words of the language to do this.
It is with this type of vector: std::vector nombre[];