[42 Project] → ft_Containers
Learn Time 🧑🎓.Containers library.Sequence containers.Associative containers.std::map vs std::setContainer adaptors.Warm-up Time 💡.Start Coding.Vector and Stack.Reference
Learn Time 🧑🎓.
The Containers library is a generic collection of class templates and algorithms that allow programmers to quickly implement common data structures like queues, lists and stacks. There are two (until C++11) and three (since C++11) classes of containers:
- Sequence containers.
- Associative containers and,
- Unordered associative containers (since c++11).
On This Post, we will discuss only containers c++98; for more information regarding Containers STL, please visit this link.
Sequence containers implement data structures which can be accessed sequentially.
Associative containers implement sorted data structures that can be quickly searched (O(log n) complexity).
std::map vs std::set
Container adaptors provide a different interface for sequential containers.
Warm-up Time 💡.
Now is the time To learn new stuff to help us with our projects.
Vector and Stack.
CppCon 2022 It's the annual, week-long gathering for the entire C++ community. Register now!
Latest forum activity:
Description of the most important classes, functions and objects of the Standard Language Library, with descriptive fully-functional short programs as examples. Browse the C++ Reference User-contributed articles, organized into different categories. You can contribute your own articles! Browse Articles
Learn Contemporary C++ | Concise&Visual Examples
Learn up-to-date, idiomatic C++ with code examples, concise explanations, cheat sheets and infographics. -- Lerne aktuelles, idiomatisches C++ mit Code-Beispielen, knappen Erklärungen und Infografiken. -- 学现代的C++ // 代码示例，简洁的说明和图表