Map in C++ with practical examples - step by step Data Structures tutorial

Описание к видео Map in C++ with practical examples - step by step Data Structures tutorial

📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
C++ Lambdas e-book - free download here: https://bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: https://bit.ly/FreeObjectPascalEbook

🚀📈💻🔥 My Practical Programming Course: https://www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

In modern C++ a map is data collection that stores elements in the form of key-value pairs. In some other languages (C#, Java, JS, Python,...), this type of collection is also known as a dictionary.
Key has to be unique and of a simple data type, like a string or a number.
Value doesn't have to be unique and it can be a simple or a complex data type (like a structure, list, another map, etc).

An important characteristic of the map collection is that it orders elements by key in ascending order (a, b, c, d,... or 1, 2, 3, 4,...)
This ordering works very fast and it is available out of the box, so you don't have to do anything for this to work.
Another similar collection is unsorted_map, and the only difference is that it doesn't sort its elements by a key.

In this video you'll learn how to use map data collection, when to use map data collection and we'll build two apps together that will help you understand this concept better.

Follow me on other platforms:
Instagram 📸 -   / truecodebeauty  
Twitter 🐦-   / truecodebeauty  

Комментарии

Информация по комментариям в разработке