C++ Dynamically Allocated Array. More often referred to as a dynamic array, although this is incorrect since dynamic array refers to another concept, but we will discuss that in another video. In this video you will learn how to allocate an array on the heap. This is referred to as a dynamically allocated array, which defers from a statically allocated array on the stack. By creating an array on the heap, the array capacity does not need to be determined at compile time. For this reason, we can create an array that can have varying sizes.
If you need to review these topics:
Arrays: https://youtu.be/TjIUYNdbmFk
Pointers: https://youtu.be/FSOnAszRFTk
Pointers to Arrays/ Pointer Arithmetic: https://youtu.be/mlTjAmqtNA8
Null Pointers: https://youtu.be/1QMJQ8dCzJQ
Dynamic Memory Allocation: https://youtu.be/LFwq0cCyazA
C++ Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4ZDNIOZ51sX25pWKQ1pkpTE
Github Repo for C++ Code:
https://github.com/ImKennyYip/cpp
Install C++ with VS Code:
https://youtu.be/DMWD7wfhgNY
Subscribe for more coding tutorials !