Raw Arrays and std::array in C++ | Modern Cpp Series Ep. 13

Опубликовано: 30 Сентябрь 2024
на канале: Mike Shah
8,219
276

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson I teach you our first data structure in this series, the array! Arrays are very simple but frequently used data structures. They allow us to store a collection of data in a contiguous block of memory. In modern C++ we also have the std::array container, which provides additional power and error-checking mechanisms for our array.

As a teaser, I also show you how to initialize an array using a loop, as well as with std::iota which lives in the numeric library..

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!