
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore the fundamentals of the standard template library, focusing on containers as class templates, iterators for traversal, and using optimized library classes instead of from-scratch implementations.
In this lecture, we will be installing our main IDE (Integrated Development Environment) for this course, Visual Studio.
Install CodeBlocks, an open-source IDE, across Windows, Linux, and macOS using the portable zip with a compiler; extract, run a test program, and set compiler if prompted to start coding.
Explore c++ vectors in the stl by declaring a vector, using push_back and pop_back, and inspecting size, capacity, and emptiness while iterating with begin and end.
Solve a real-world problem using vectors by maximizing the product of digits when adding one to exactly one digit, handling zeros and the minimum digit in a Codeforces style challenge.
Explore the stack data structure, a linear last-in, first-out collection with push and pop operations. Learn its implementation options, including array and singly linked list approaches, and visualize its behavior.
Explore the queue as a first in, first out container adapter. Push and pop operations maintain elements in chronological order, highlighting oldest-first behavior and practical uses.
Problems to solve using map:
https://codeforces.com/contest/4/problem/C
Hi! My name is Daniel, a passionate software engineer whose aim is to teach you the techniques of using the Standard Template Library (STL) in C++ and how you can use them to get a job at any big tech company as a C++ software developer or start building your dream projects. I have personally used them in multiple interviews and in all of my C++ projects.
The STL is a cornerstone of modern C++ programming, offering a rich collection of classes and algorithms that streamline code development. Whether you're a seasoned developer or just starting with C++, this course is designed to provide you with the in-depth knowledge and practical insights needed to master the STL.
The Standard Template Library (STL) has become a major part of the C++ programming language, providing a solid and proficient implementation for a variety of data structures and their methods/functions. In this course, we will cover everything you need to know about the STL, as well as solve some real-world problems to show you exactly how to apply what you've learned and afterwards provide you with further resources to study and apply your knowledge on. I will also provide you with project ideas that you can implement in order to enrich your understanding and knowledge of C++.
Apart from mastering C++, learning to use the STL will also help you write code that is easier to understand and maintain in the long run. Also, because the STL manages its memory by itself, it is a perfect suit for absolute beginners who are looking to start their exciting journey in the art of computer programming.