📚 Learn how to solve problems and build projects with these Free E-Books ⬇️ C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook 🚀📈💻🔥 My Practical Programming Course: 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.
@ILGiullareDiCorte3 жыл бұрын
I want to add a note. std::map is implemented like a red-black tree (a type of balanced tree, that's why the "map" is sorted). This means that insert, search and remove are O(log(n)). std::unordered_map is implemented like a hash table (with buckets) and insert, search and remove are amortized O(1). So choose well, because the 2 data structures are really different and have huge difference in performance. Btw great video and thanks for sharing your knowledge to people that are learning c++ ^^
@jeanehu-pludain66402 жыл бұрын
log(n) for search ?
@ethangold49003 жыл бұрын
15:55, yes I confirm that scary face is an attack, an attack that is supposed to scare the opponent with a scary face, this will lower the opponent's speed stat in battle
@CodeBeauty3 жыл бұрын
Thank you for clarifying this! 😁🔥🔥 I also did some research and after seeing Charmander's scary face myself, I was stunned and terrified! 😁 I hereby testify that everything stated in the video and in this comment is correct! 😏😁
@あい-ueo8 ай бұрын
I was confused by my professor's explanation and videos in KZbin but eventually found out this one to be very straightforward and easy to learn, thanks a lot!!
@brandonblackwell12163 жыл бұрын
Finally a map video from you ! Ive been waiting for this !
@kishensharma56513 жыл бұрын
This was a very concise implementation of maps in C++, thank you again for creating the tutorials that you do
@CodeBeauty3 жыл бұрын
You are welcome! ☺️🥰
@palmtrees94743 жыл бұрын
Hvala na videu! Prelepa si Saldina! Respekt! Pozdrav iz Srbije!
@yuhuili67382 жыл бұрын
I gotta say this! When I learned about OOP, I subscribed to this channel and RIGHT NOW! My professor just put the link of this video in this weekreading schedule! Amazing. Thank you so much for the explanation!!!
@CodeBeauty2 жыл бұрын
Your professor is awesome, he really cares about teaching, give him my greetings! 🥰 Most of my professors would just give us a book with a bunch of abstract examples and students had to figure it out on our own. It took 5x more time 🥲
@muhanadglb88813 жыл бұрын
You are my hero in C++ .......👍👍👍👍👍
@CodeBeauty3 жыл бұрын
☺️🥰🥰
@muhanadglb88813 жыл бұрын
keep going in these videos. ..... it's really useful .
@amrrasslan4329 Жыл бұрын
you made a long story short . thank you for being to the point without a long introduction hats off to you :)
@sabrinanastasi5809 Жыл бұрын
You seem so happy sharing your knowledge on your videos. As a woman myself that motivates me to keep going on the coding journey. I struggled with maps and your video helped a lot. Thank you!
@diwasbajracharya37453 жыл бұрын
Its surprising that I was just searching for maps and here we are!!!BTW done with both yours and caleb's 10hr c++.Thanks to you, its becoming easier than I expected.
@CodeBeauty3 жыл бұрын
I'm happy to hear that! ❤️🤗
@neepunpatil52013 жыл бұрын
Finallly Completed your OOP C++ course
@luisalamo26582 жыл бұрын
Thank you for creating this Playlist. My fear of C++ disappeared! I bought to you a coffee but I forgot to write a message to you on that platform. Keep doing gorgeous work here, I have been a Java developer for years and I'm so happy to relearn the fundamentals or new things in other languages through this kind of tutorial on YT.
@aruneshsingh56982 жыл бұрын
The way you explain these topics is very fascinating. Please make videos on heaps , hashing and other data structures
@gobybike50163 жыл бұрын
I wrote my own map facilities about 12 years ago before I knew STL has map. I could’ve saved a lot of time if I knew about the built in map features. I learned a few things from your video. Thanks.
@CodeBeauty3 жыл бұрын
😁🤞🥰🥰
@rohitcr2k3 жыл бұрын
Your channel is a treasure for (budding) programmers. 💜
@kamertonaudiophileplayer8473 жыл бұрын
Thanksgiving? Tons of people celebrate this wonderful autumn holiday. But what if you need to finish this damn project? Right, just open the video and you will answer to the question you tried to resolve for weeks. Bravo!
@CodeBeauty3 жыл бұрын
Happy holidays! 🤗🎊❤️
@kamertonaudiophileplayer8473 жыл бұрын
@@CodeBeauty Thanks.
@mitchong8753 Жыл бұрын
Thank You! Your videos on C++ are helping me pass an online college course. I am at the final project, and needed to know if C++ had anything like a dictionary in Python.
@CodeBeauty Жыл бұрын
Try map collection 😃
@marzie58673 жыл бұрын
You're the best teacher ever First l saw one of your videos l had no ldea about computer But now l can write my own program I love you 😍 💗
@CodeBeauty3 жыл бұрын
I'm so happy to hear that! 🥰
@SivasaiPrime3 жыл бұрын
Wow...I loved it....taking examples of pokemons and their attacks..is awesome...brings my childhood memories ❤️❤️❤️
@CodeBeauty3 жыл бұрын
🥰🥰
@ashishgusain94942 жыл бұрын
Best video i have ever watch for string example.
@ajitpatil65322 жыл бұрын
I love how this video is on point and precise. Your C++ vids are great.
@amodpatwa18223 жыл бұрын
You are amazing Saldina, this video was very nice. I prefer mostly unordered map over ordered map. And don't feel awkward about your favourite pokemon if you are 26, I'm 27 and my favourite pokemon is Pikachu ❤️ because he is very cute and sometimes very aggressive if he don't like anything
@canhobby62862 жыл бұрын
I was looking for C++ associative arrays like in PHP, and you showed me how - AND, many thanks for the black background from you blind Canadian subscriber..
@victoradeola38072 жыл бұрын
you are the Best. No one else comes close
@CodeBeauty2 жыл бұрын
Thank you so much, you are very kind person 🥰
@mateoslab3 жыл бұрын
i just learned about c++ containers 2 days ago so this video helps! How is a list different from a normal array? would it work to have a string array as the second data type of the map?
@ChrisCarlos643 жыл бұрын
One of the key differences is an array is fixed size versus a list that can grow and shrink in size. List, like other std containers (vector, queue, etc) know their size and have operational functions to get items at position, front, end, iterators, and so forth. When using normal arrays you cannot know the size, unless you use std::array which has some features like std containers, however array is still fixed size. Maps can hold any type of data for their keys and values. If you want the second to be string array, you can do that. Just remember that your string array has to be fixed in size or if you use a container it can grow and shrink over time, so it matters on what you need. You just need to think about what use would that array be for? Because the key gives you access to the array, but now accessing the elements in your string array requires some other search (like iterating and comparing the values).
@bernardseno25353 жыл бұрын
Great! I have been looking for a great tutorial about map and there you are Ma'am! Thank you!
@SibiAkaManiek3 жыл бұрын
One of the most common situation is to erase element while iterating in the loop. In that case is so close to make mistake ;)
@Hassan_Rashed4 ай бұрын
Thank You
@abdourahamanediallo88773 жыл бұрын
I watch your videos and enjoy them very much. please can you make a video of a C++ programming project which covers all or almost all the themes of the C++ language
@CodeBeauty3 жыл бұрын
Thank you, I will! ☺️🤗
@software21713 жыл бұрын
#include #include #include using namespace std; /* After Reading 'MAP in C++', thought about Google Map in C++..finally understand, could not search codebeauty location in this map.. :D */ void fruits(){ map dic; dic.insert(pair("1 kg apple", "die fruits ")); dic.insert(pair("11 kg orange", "living fruits")); dic.insert(pair("7 kg berry", "newborn fruits")); dic.insert(pair("6 kg banna", "unborn fruits")); for (auto p : dic) cout
@RoboticsWithHrithik3 жыл бұрын
I was searching for this video finally its here 👍
@tjunyat2 жыл бұрын
Loving your videos! I'm sure you have a more elegant solution, but the printing of the final comma was bugging me, so this is what I did: for (auto pair : pokedex) { cout
@antonmakeyenko4018 Жыл бұрын
Next thing to learn: why using "auto" instead of "auto&" while iterating on a container is a bad idea (usually and in your particular case)
@austingrapes5455 Жыл бұрын
Using the pokedex example makes the lesson that much more fun.I really don't think scary face is an actual attack, I believe google is wrong, but it might be an attack in the newest versions.
@superfloyd2 жыл бұрын
tip : if the type is too complicated for readability, such as an iterator or a standard library type, then auto&& will magically bind to anything always.You can use it in for loop.
@shawaizhassan62533 жыл бұрын
You're making coders lives easy...thanks a lot!!!
@milo200602 жыл бұрын
I briefly remember on some random slide show in my second year uni about the maps. The teacher talked quite fast and I didn't pick it up. But now I kind of got it! Thanks! Oh and my favourite Pokemon. Well what first comes to my mind would be Charmander and it's final form Charizard. Used to have one as a soft toy ^^
@altheahicks95742 жыл бұрын
you always explain the minutiae of these topics really clearly and you have a good sense of which points to emphasize for a beginner. I always come to your channel when I don't quite understand a topic in c++. thanks so much!
@monstergamingiraq79273 жыл бұрын
Finally a new video ...Thanks a lot i really appreciate your efforts❤️
@christofzellhofer75047 ай бұрын
Vielen Dank für deine Videos, du hast mir im Studium schon sehr geholfen! Beste Grüße aus Wien!👋 Dein Deutsch ist sehr gut! 👌
@begueivan37993 жыл бұрын
You should explain how you set up your external terminal
@mmuzzammil83942 жыл бұрын
Thank you. Video was helpful and clear!
@UFALAM876523 күн бұрын
Mam, your programing lectures is outstanding .... thank you sooooo much mam❤ Mam, i request you to make your lectures in C# language for beginners............ make a complete course with all concepts in C# from starting to end ........... plźzzzzzz mam that's are our humble request to you❤
@iqrajaved35933 жыл бұрын
Your videos are very helpful for us.please keep it up.. your videos also improving our English.Thank you 🥰
@hosseinbachari67322 ай бұрын
Thanks a lot Saldina , if we want to translate from string to for example integer or other variables what should we do and I am wondering whether in practical projects are detas from different kind of variables converted on base of this way or not
@CodeBeauty2 ай бұрын
To convert from a string to an integer (or other types) in C++, you can use built-in functions like stoi (string to integer) or stod (string to double)
@hosseinbachari67322 ай бұрын
@@CodeBeauty 🙏🙏
@neepunpatil52013 жыл бұрын
Full DSA course ma'am please 🥺 I understand much better when you teach
@remysalone2 жыл бұрын
I beg for the same.🥺
@kekenny66482 жыл бұрын
Can you please explain why on 19:16 , pikachu did not print first? Why did the program decided to go with charmander first? Thank you :)
@specs76492 жыл бұрын
it is an ordered map, so the key is printed in alphabetical order
@baibhavvikas17672 жыл бұрын
thank you for teaching it all in such a simple way .
@cristina2516 Жыл бұрын
u really know how to explain things, good job!
@fatehpreetsingh14403 жыл бұрын
Thank you for this tutorial
@CodeBeauty3 жыл бұрын
You're welcome ☺️😺
@itx-zulqar3 жыл бұрын
Thanks .....10hr C++ video. very very thanks
@CodeBeauty3 жыл бұрын
🥰🥰
@itx-zulqar3 жыл бұрын
So helpful this channel
@sivaramarajusiv78262 жыл бұрын
Thank you Saldina, I learnt something from your videos.
@rushabhjain91583 жыл бұрын
QUICK , PRECISE AND EASY !
@subhasrini27062 жыл бұрын
Thank you soo much because i couldn't able to figure out this MAP ans how to use the Maps correctly...Thanks a lot!!
@Shad0wBenny3 жыл бұрын
I love hearing you speak other languages. You should speak in your native language more often. I'll be in awe if you start speaking Latin. 🤩
@AudreyGB7 ай бұрын
Wow, great video, I'm glad I've just found your channel!
@EloquentMovesАй бұрын
a cleaner way of inserting a string inside a value that is a vector of string values is like this, for example: pokedex[ "Pikachu" ].push_back( "thunder shock", "tail whip", "quick attack" );
@aswin62612 жыл бұрын
thank u sister
@Only-zeus3 жыл бұрын
Hey please upload tutorial play list about web development using C++
@SA-oj3bo3 жыл бұрын
How to make an API request with C++ and handle the JSON response? Is there an alternative for JS parse and stringify or Python Loads en Dumps?
@thebadluckraven82173 жыл бұрын
I love all your videos and now i can comprehend what im doing much better than any of the books ive read. If you could make a video on Vectors i would greatly appreciate it ! Thank you for everything you do!
@SouravChakraborty-y3w6 күн бұрын
Thank you for this information related to STL Map.
@prigithjoseph70183 жыл бұрын
Hello do you have any plan for converting all your videos into book? You have created amazing videos friend.
@mulumbacephas50363 жыл бұрын
I was searching for copper and i ended up find gold nice vid
@Cesar33-pl3 жыл бұрын
Very useful video, thank you!
@j.rayscott46813 жыл бұрын
Great video as always! I have a question. Since the declaration of map includes, in your example, string and string why when you do the insert do you have to say string and string again??
@TheHatMusic2 жыл бұрын
If you have a map which uses string as the key and string as the value, the map is able to store objects, and those objects must be a pair containing two strings (pair). When you create that pair, you need to define what data it stores, so by passing string and string to pair when it is created, you specify its type just as you do when creating the map, and as the types stored by the pair match the types accepted by the map, the insert operation will succeed. If you don't want to explicitly create a pair then add it, you can call emplace on the map and pass in the strings, and c++ will create the pair for you -ie. myDictionary.emplace("banana", "die Banane");
@yairfink23683 жыл бұрын
thanks for all your videos, really like this program.
@CodeBeauty3 жыл бұрын
You're welcome ☺️🤗
@diegocamposjimenez666 Жыл бұрын
I'm 30 and still play sometime. Sceptile and Bulbasaur. When I stopped playing at 16:19 I was doing the same laugh. Also, could you add one more video about linked lists of a linked list? Two dimensional list for dictionaries where if user adds "car" it adds it in the other lists from A to Z and sort it. If I remember where this comment is, I'll add my code as well.
@nicholaskomsa17778 ай бұрын
Thank you for your interest in the topic of Modern C++. However, your code is depreciated. Learn to do: std::map myDictionary = { {"name", "John"}, {"surname", "Doe"}, {"age", "25"} }; for (auto& [id, value] : myDictionary) std::cout
@pavankumarnitta03293 жыл бұрын
Can you please post a full detailed long video on below two topics: Data structures using C++ STL using C++
@truecodeface3 жыл бұрын
Thanks a lot from your clean codding , clear speaking , and you always brings each and every point from sidelines to TEXT. I 💕💕💕 your Instructions always. but i wish to become a close colleague for you in the area of coding and programming for ever. so please try your best for shifting me from Afghanistan to your Homeland (Boss AND Herz).i want to work with you, i like working with you.
@maheshvelugula8418 Жыл бұрын
I watch daily pokemon series videos, the way you explain and the example taken is very good, nice, thank you. 🥰😉
@Sssilence33 жыл бұрын
Always love ❤❤❤ your videos.. Please make a video of “bit manipulation”... 🙏🙏 I see lots of video of bit manipulation, but can't understand properly. 🙁🙁 So please please one video of bit manipulation.
@dp08132 жыл бұрын
Truly helpful! Danke!
@itx-zulqar3 жыл бұрын
Thanks
@lightspd714 Жыл бұрын
Great presentation style, very informative! Also, pikachu is my fav
@luisfernando34052 жыл бұрын
Is very good video to learn about this topic; Good job, 🎯
@sawomirbartoszko93852 жыл бұрын
interesting understandable consise without beating around the bush excellent
@mustafaalhumairi4383Ай бұрын
Basically taught me two languages simultaneously, German and C++
@JMac___8 ай бұрын
u should discuss the underlying structure of the map and its implementation as well.
@diegoi1313 Жыл бұрын
Loved your Pokédex Pikachu example!
@notionmakeit28882 жыл бұрын
this is the best video for map
@artemioharoldperlaciosluqu54713 жыл бұрын
Me encantan tus videos, muchas gracias :D
@alsanabe524110 ай бұрын
Thank you for the clarification.
@fayehill12252 жыл бұрын
Thank you, really great video!
@richardfoster4385 Жыл бұрын
I am just curious why you use insert instead of emplace to add a pair
@mohammadasaad8852 жыл бұрын
what do u think about problem solving ?! how can we learn it ? thx so much for ur videos .
@drsumankhanal Жыл бұрын
You teach so cool. Easy to follow? Can you make one on AVL and RB trees? How to create AVL trees, traverse?
@siddharthqs4 ай бұрын
You must not use [ ] operator to access the elements in maps. It has lot of issues.
@program50043 жыл бұрын
welldone dear saldina😍😍.......i have an order could you solve this question for me...?write a c++ program that calculate the number of (day)s between two date using class??
@MystoCalypto Жыл бұрын
your german pronunciation is so good
@sheetalkhatri8106 Жыл бұрын
Wow, you made it so interesting, great video
@kalidasbenny81111 ай бұрын
thanks a lot you are a life saver
@RohitKumar-np1vb3 жыл бұрын
Love the content you upload🔥🔥 I have been trying to grasp tree from a long time plzz make vedio's regarding trees. Love from INDIA
@connormckenna23962 жыл бұрын
This is a great video that's easily understood. However, I wish they would have explained the auto function within the for loop.
@CodeBeauty2 жыл бұрын
Watch this video kzbin.info/www/bejne/jH_FZImCftpkhqM here I also use "auto" and there is an explanation for it
@MatildeOliveiraSilva-qi3kb6 ай бұрын
hi! what if i want to list strings in the terminal instead of writing it already... if i dont have an certain name
@sarahalahmad94962 жыл бұрын
💕💕💕💕 thanks a lot !
@osiguemerapheal747812 күн бұрын
Can this apply to codes for contact list
@nde810 Жыл бұрын
This was a very clear explanation of the map concept, thank you for the hard work. PS : my favorite pokemon are Amphinobie, Pikachu, and Lukario :)