STL learning vector

STL learning chapter: vector - Introduction to vector vector is a serialization container with variable length The difference between vector and array: array is a static space, and vector can be expanded dynamically Dynamic expansion: instead of continuing the new space after the original space, find a larger memory space, and then copy the ...

Added by alapimba on Fri, 14 Jan 2022 23:52:52 +0200

Implementation of C++vector simulation

I can accept failure, but I can't accept that I haven't struggled. 🎓 vector introduction vector is a sequence container that represents a dynamic array of transform sizes.Like arrays, vectors use continuous storage space to store elements. This means that you can use subscripts to access the elements of a vector, which is as efficient ...

Added by sidhumaharaj on Wed, 05 Jan 2022 14:10:41 +0200