C++ Vector Resizing

Publicado em: 24 Setembro 2024
no canal de: C++ Data Structures
359
15

What makes the std::vector different than C++'s built-in arrays and from std::array is the ability to change the size and the capacity. This is all done through vector::reserve(). This video explains how reserve() works and provides pseudocode for the optimal implementation.

You can learn more about the vector and other data structures in C++ Data Structures by James Helfrich: https://he.kendallhunt.com/product/c-...

0:00 Introduction
0:26 Class Diagram
0:56 Size and Capacity
1:51 Demonstration
4:12 Pseudocode for reserve()
5:19 Pseudocode for push_back()
6:22 Conclusion


Nesta página do site você pode assistir ao vídeo on-line C++ Vector Resizing duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário C++ Data Structures 24 Setembro 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 359 vezes e gostou 15 espectadores. Boa visualização!