My new Pluralsight course on C++ Standard Library Containers is live!
In this course, you’ll learn how to use some important containers implemented in the C++ Standard Library, with a combination of theoretical introduction using slides, and practical C++ implementation code, including analyzing and fixing some common bugs.
C++ Standard Library implementations offer high-quality well-tested and highly-optimized standard containers, that are very powerful tools when developing software written in C++.
In particular, I’ll discuss std::vector (which is a Standard Library workhorse), std::array, and std::list, including how to use them, discussing their pros and cons, and giving some guidance on picking one or the other, based on the problem at hand. Other containers (e.g. std::map) will be the topic of follow-up courses.
No prior knowledge of C++ Standard Library containers is required. You only need a basic knowledge of C++ language features.
Containers and algorithms are kind of like “bread and butter”, so in this course you’ll also learn about the C++ Standard Library design based on the teamwork between containers, iterators and algorithms, and you’ll see how to perform important operations on containers leveraging some useful algorithms already implemented in the C++ Standard Library.
Note that this course is both theory and practice! In fact, I’ll show practical demo code, and I’ll also discuss some bugs that are especially common for those who are just starting to learn the C++ Standard Library’s containers.
These are some feedback notes from my reviewers:
The narration is clear, animated, and engaging. The visuals are particularly helpful. [Peer Review]
You do a particularly good job clearly stating the problem here (and elsewhere) so that the solution, when it comes, makes sense and fits nicely. [Peer Review]
Great simple example of undefined behavior to reinforce the concepts you’ve introduced as well as a bonus of uncovering a security issue. [Peer Review]
Very nice module with good examples. Also excellent visuals when describing list, vectors and the various operations. [Peer Review]
Very nice discussion of the trade-offs between a linked list and a vector [Peer Review]
Nice use of a bug to teach a key concept [Peer Review]
Starting from this course page, you can freely play the course overview, and read a more detailed course description and the table of content.
Let me also express my gratitude to all the Pluralsight persons involved in the production of this course: It’s always a pleasure to work with you all!
I hope you’ll enjoy watching this course!