Тёмный

Arrays of objects - Introduction (Data Structures course, step-by-step, in-depth) 

Подписаться
Просмотров 18 тыс.
% 833

Welcome to an in-depth programming tutorial about arrays of objects! In this video, you'll learn the fundamentals of this data structure.
You will understand the concept of arrays of objects and the similarities with arrays of primitive data types. You'll also learn when and why to choose one over the other.
I'll show you different techniques to initialize arrays and teach you several approaches to suit your coding needs. We'll see how you can perform complex operations efficiently and effortlessly by combining the power of loops and arrays of objects. Additionally, I'll demonstrate how to access individual objects in the arrays and their properties.
Towards the end, I'll teach you about the most common errors that programmers encounter when working with arrays and how to avoid them. To put your knowledge into practice, I have also prepared a practical task for you. This hands-on challenge will ensure that you understand this concept and are able to confidently use it in your own projects.
📚 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.
Download Visual Assist here: bit.ly/WT-CB
I use it to enhance the performance, features, and support for C, C#, and C++ development in Visual Studio.
Download Ultra Edit here: bit.ly/UE-CB
It is a powerful, secure text editor designed specifically for programmers.
☕ If you've found my content helpful and would like to support me, you now have the option to buy me a coffee or a cookie! It's a small gesture of gratitude that means a lot to me and helps me keep creating free educational videos for you. You can use the link below to make a contribution: bit.ly/CodeBeauty_BuyMeACoffee
However, please don't feel obligated to do so. I appreciate every one of you, and I will continue to share valuable content with you regardless of whether you choose to support me in this way. Thank you for being part of the Code Beauty community! ❤️😇
Related videos:
Array Data Structure (for absolute beginners) - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-T76E09hnEuo.html
Different types of constructors - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hBq6EGX5II4.html
Dynamic arrays of objects (part 2) - will be linked soon
Common operations and algorithms on arrays of objects (part 3) - will be linked soon
Arrays of objects - Advanced (inheritance and polymorphism) (part 4) - will be linked soon
Contents:
00:00 - Summary of what you'll learn
3:35 - What are arrays of objects and how are they different from arrays of primitive data types?
06:57 - Creating an array of objects and all the ways to initialize it
13:46 - Arrays of objects and loops
19:48 - Accessing properties of individual objects in the array
21:44 - Why and when should you use arrays of objects
24:50 - Summary of what you've learned
26:30 - Most common error when working with arrays
29:26 - Practical task for you
Add me on other platforms for more educational content:
Instagram 📸 - TrueCodeBeauty
Twitter 🐦- TrueCodeBeauty

Наука

Опубликовано:

 

19 июл 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 105   
@CodeBeauty
@CodeBeauty 11 месяцев назад
📚 Learn programming 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.
@milkamilkica1935
@milkamilkica1935 11 месяцев назад
The best programming teacher ever. I finished school and got a job thanks to you, only YOU!
@CodeBeauty
@CodeBeauty 11 месяцев назад
So glad for you, thanks.
@l.p.1967
@l.p.1967 11 месяцев назад
you're 100x better than any other teacher. i didn't understand anything before, and from your courses I learned and understood everything about programming
@CodeBeauty
@CodeBeauty 11 месяцев назад
Happy to help, thank you :)
@alishafii9141
@alishafii9141 11 месяцев назад
thanks a lot.After watching each of your videos, I ask myself: why can't you become proficient in programming, while there are people who are very proficient and professional, just take your time and continue.
@dundyd3612
@dundyd3612 11 месяцев назад
you have the best programming courses. They've helped me so much,, I cannot thank you enough
@CodeBeauty
@CodeBeauty 11 месяцев назад
always good to hear :) thank you
@christopherrice891
@christopherrice891 11 месяцев назад
I love watching your C++ videos Saldina🤗
@phoebewell3653
@phoebewell3653 11 месяцев назад
I learned programming thanks to you, and I can not thank you enough. There is no chance that I'd finish my University without you
@CodeBeauty
@CodeBeauty 11 месяцев назад
that's the type of messages that I like the best :D thank you and keep watching, there is a lot more to come :)
@anwar6971
@anwar6971 11 месяцев назад
Hi, nice to see you again. I hope you continue with this series of data structures.
@JorielTejada-te4dd
@JorielTejada-te4dd 11 месяцев назад
Finally!! I hope Graph data structure is include in this video
@georgebentley-ricardo9445
@georgebentley-ricardo9445 11 месяцев назад
Thanks for sharing. Excellent tutorial, relevant, and very useful content. Easy to follow too 🤠👍
@CodeBeauty
@CodeBeauty 11 месяцев назад
Glad it was helpful!
@gollygobih6527
@gollygobih6527 11 месяцев назад
thank you saldina, you are the best professor!
@CodeBeauty
@CodeBeauty 11 месяцев назад
You are welcome!
@Dan-yd2jq
@Dan-yd2jq 11 месяцев назад
Such a good teacher. Not even in your native language either! Super clever!
@saa6390
@saa6390 11 месяцев назад
Hey Saldina, I'm coming from Free Code Camp, and your course of OOPs in C++ (2yrs ago course) is great, outstanding, amazing.... and a lot more.... :)
@nv9usb381
@nv9usb381 11 месяцев назад
Saldina you have the best courses for learning programming
@CodeBeauty
@CodeBeauty 11 месяцев назад
100% agree :D :D but thank you nonetheless
@user-vt1pi7nx2w
@user-vt1pi7nx2w 11 месяцев назад
Your channel is beautiful and useful. And it touches on the right grounds too. And I'm from Iraq, and thanks
@CodeBeauty
@CodeBeauty 11 месяцев назад
Then you will be delighted with my upcoming practical course, sign up here to get discount and be notified once it's out: bit.ly/SimplifyingCoding Greetings for you and Iraq.
@hammadtahir9164
@hammadtahir9164 10 месяцев назад
Amazing content, please upload more content regarding Data Structures.
@marym9003
@marym9003 11 месяцев назад
best teacher ever ❤❤❤
@CodeBeauty
@CodeBeauty 11 месяцев назад
thank you thank you :D
@abdulazizabubakar6539
@abdulazizabubakar6539 11 месяцев назад
Your teaching is my favorite. Much Love Master 🤩
@CodeBeauty
@CodeBeauty 11 месяцев назад
Happy to hear that!
@hilgicamala2520
@hilgicamala2520 11 месяцев назад
your videos are very easy to follow
@CodeBeauty
@CodeBeauty 11 месяцев назад
thank you :)
@user-yt9yi5gn3m
@user-yt9yi5gn3m 11 месяцев назад
you have a natural gift in explaining
@CodeBeauty
@CodeBeauty 11 месяцев назад
thank you, it means a lot :)
@py2pw
@py2pw 11 месяцев назад
Thanks for sharing your knowledge Saldina ! Greetings from Brazil ...😉
@CodeBeauty
@CodeBeauty 11 месяцев назад
You are very welcome :)
@user-sw8bq1rk9c
@user-sw8bq1rk9c 11 месяцев назад
great job, thank you Saldina, this is very helpful
@CodeBeauty
@CodeBeauty 11 месяцев назад
Glad it was helpful!
@deanmorrison6254
@deanmorrison6254 11 месяцев назад
very helpful, thank you so much
@CodeBeauty
@CodeBeauty 11 месяцев назад
You're so welcome!
@user-lu6kv9kr8u
@user-lu6kv9kr8u 11 месяцев назад
great explanation, thank you
@CodeBeauty
@CodeBeauty 11 месяцев назад
I always try to give most understandable explanation but thank you for noticing
@oxamic9953
@oxamic9953 7 месяцев назад
thank you!
@amelccc
@amelccc 11 месяцев назад
great job as always 👌👌
@CodeBeauty
@CodeBeauty 11 месяцев назад
Thank you so much 😀
@mduduzikhoza8950
@mduduzikhoza8950 11 месяцев назад
Great! Thank you.
@CodeBeauty
@CodeBeauty 11 месяцев назад
Glad you liked it!
@dimitriraf5431
@dimitriraf5431 10 месяцев назад
Hi Saldina, thanks for the great lesson! I always wonder with examples of classes and objects like this, what is the difference with a database? Is it not better (especially when your program grows) to store all the student data in key value pairs in a database? Could you explain me the benefit of one above the other or the true difference between these two ?
@user-yr5oi6ns8c
@user-yr5oi6ns8c 11 месяцев назад
Very Beautiful explanation
@CodeBeauty
@CodeBeauty 11 месяцев назад
Thanks and welcome
@ROYALNIL_SITE
@ROYALNIL_SITE 9 месяцев назад
EXELLENT, THANBKS
@feliz_8a16
@feliz_8a16 11 месяцев назад
I wish i would have watched this video a couple of months ago for an Arduino project. I had to use "colorArray[row][column]" for an array of colors and the names in another array.
@CodeBeauty
@CodeBeauty 11 месяцев назад
Now that you know where to find good learning content i'm sure you will keep coming back :)
@feliz_8a16
@feliz_8a16 11 месяцев назад
@@CodeBeauty for sure!
@MohammedMikail-gy9rc
@MohammedMikail-gy9rc 11 месяцев назад
Finally 🎉
@CodeBeauty
@CodeBeauty 11 месяцев назад
Cheers.
@devilgameryt6035
@devilgameryt6035 11 месяцев назад
Hi saldina your video on oops concepts in c++ video from freecodecamp was sooo useful to me can u make a video on important interview questions for c++ with your experience .
@CodeBeauty
@CodeBeauty 11 месяцев назад
I have it in plan, my TODO list is crazy but surely you can expect video about that too. Cheers.
@farmanali5106
@farmanali5106 11 месяцев назад
Excuse me Mam, i need some assistance while using PVS studio in Visual Studio Code, it doesnt work properly can u plzz tell that how can i set it ?
@CodeBeauty
@CodeBeauty 11 месяцев назад
Hey there, sadly I don't have setup for VS Code editor, if that's what you are asking but I do have video for setting it up in Visual Studio IDE and you can find it here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-AeyTSLGIX1M.html&ab_channel=CodeBeauty For getting help with VS Code setup I suggest that you write to PVS Studio support, feel free to say that you watched my video and that you need help with setting it up with VS Code. I'm sure they will be helpful.
@codeoasis1180
@codeoasis1180 11 месяцев назад
flawless
@CodeBeauty
@CodeBeauty 11 месяцев назад
thank you
@daviddomenici7940
@daviddomenici7940 25 дней назад
inserire una variabile costante che useremo per l'array e dentro i cicli for potrebbe essere un'idea? tipo const int nStud = 3; ....Student students[nStud]......for(int i = 0; i < nStud....) etc....
@reddicherlakumudhini9207
@reddicherlakumudhini9207 11 месяцев назад
hey Saldina, i am in love❤ with your way of teaching c++ oops…just one request, can u make a video explaining copy constructor nd copy assignment operator in base and derived class, and by calling on of it, what constructor will be called first and all of that, plzzz
@CodeBeauty
@CodeBeauty 11 месяцев назад
Hello there, you can learn about copy constructor from here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UYYoq784pQY.html And there is also another one about constructors in general here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hBq6EGX5II4.html Video about assignment operators is in the making and will be out soon. Subscribe and turn on notifications if you didn't already so you don't miss it.
@aapck
@aapck 10 месяцев назад
I am a developer with 15 years of experience. I've written my own operating system using C++, and I even have my own JavaScript engine. The reason I'm watching this video is because I'm in love with that girl :)
@danieltheshark
@danieltheshark 11 месяцев назад
Thank you for your videos. They are great! What do you think of making a video (series?) about unit testing? use gtest, how to test..., think about a good code to test... Thank you
@CodeBeauty
@CodeBeauty 11 месяцев назад
That's another thing on my TODO list :D I'll try my best to squeeze it in sometime soon.
@nevram0101
@nevram0101 11 месяцев назад
Hi, watching here from philippines,
@CodeBeauty
@CodeBeauty 11 месяцев назад
Greetings for Philippines
@jorgetorres1670
@jorgetorres1670 11 месяцев назад
Thanks
@CodeBeauty
@CodeBeauty 11 месяцев назад
No problem
@Hicham_xer
@Hicham_xer 11 месяцев назад
💙💙
@user-vu7gu1wn4p
@user-vu7gu1wn4p 11 месяцев назад
Hey thankyou😊, can you make a video how to autogenerate a dataset using C++
@CodeBeauty
@CodeBeauty 11 месяцев назад
Interesting topic, I'm adding it to my TODO list
@Goliank4987KatiUchaDiedy
@Goliank4987KatiUchaDiedy 11 месяцев назад
Cool... " - Saldina ...."😀
@CodeBeauty
@CodeBeauty 11 месяцев назад
Thanks :)
@peteclark8092
@peteclark8092 9 месяцев назад
Saldina, I realize I'm two months late but I hope you're still reading these comments. I'm working on the homework you gave at the end of this video. I've programmed most of it myself, but I asked ChatGPT a couple of specific questions. ChatGPT insists that I change my dynamic arrays to victors. So I'm wondering if I really should do the homework using vectors rather than dynamic arrays. Any comments from you have would be appreciated! I look forward to posting the finished project here soon. Thank you!
@wilgarcia1
@wilgarcia1 11 месяцев назад
😻😻😻😻😻
@temercastle7193
@temercastle7193 11 месяцев назад
Thank you Saldinaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
@CodeBeauty
@CodeBeauty 11 месяцев назад
you are welcomeeeeeeee :)
@clintonemenike1903
@clintonemenike1903 10 месяцев назад
Can someone please post their homework code here... I want to know how you calculated the price for each type of product
@kpgmob6888
@kpgmob6888 11 месяцев назад
please explaine api key using c++ 🙏
@CodeBeauty
@CodeBeauty 11 месяцев назад
another one for my TODO list, thanks for suggestion though :D
@user-gw3ur9im7y
@user-gw3ur9im7y 11 месяцев назад
your great~! do you have a t shirt or a book i can buy?
@CodeBeauty
@CodeBeauty 11 месяцев назад
I have something even better, the best course for practical programming in the making and you can subscribe here to be among first ones to get it (with the discount) once it is published: bit.ly/SimplifyingCoding In the meantime you can use these books to learn more: bit.ly/freeCppE-Book bit.ly/FreeObjectPascalEbook Enjoy and thank me later
@tiffanyalberti2029
@tiffanyalberti2029 11 месяцев назад
I want to become a software engineer because in this modern day and age in America the cost of living is so high I will need a job that pays over 80K a year just to make ends meet. I have spent my whole life either homeless or poor and do not want to live this way in my golden years. I am 44. My uncle spent his youth as a computer programmer and is now living out his golden years in ease and comfort.
@CodeBeauty
@CodeBeauty 11 месяцев назад
I'm truly inspired by your determination and your desire to create a better future for yourself. Your decision to pursue a career in software engineering is a powerful step towards achieving financial stability and a comfortable life. Remember, your unique life experiences can bring a fresh perspective to the field. Keep learning from my videos, stay committed, and know that your hard work will lead to brighter days ahead. Your uncle's success story serves as a testament to the possibilities that lie ahead. Embrace this journey, and know that you're taking a positive and impactful path. You've got this!
@alejandro9609
@alejandro9609 5 месяцев назад
you are´ BEAUTY.......😀
@gower1973
@gower1973 10 месяцев назад
This is the C-style way of creating and using arrays, C++ has its own Array container, why didn’t you cover it?
@giovannicipriani834
@giovannicipriani834 11 месяцев назад
You need to add the array loading method line by line from text file to this C++ array learning video to be actually completed! Bye Bye
@CodeBeauty
@CodeBeauty 11 месяцев назад
Thanks for the tip!
@user-gb7os6ym7l
@user-gb7os6ym7l 11 месяцев назад
Mam can you teach python?
@CodeBeauty
@CodeBeauty 11 месяцев назад
Maybe sometime in future, for now there is too much on my TODO list but I'm sure you can find something for yourself because a lot of my videos are focusing on programming concepts which are applicable in multiple different programming languages.
@sanjaygoud4386
@sanjaygoud4386 11 месяцев назад
Can you please teach Html and css web development please
@CodeBeauty
@CodeBeauty 11 месяцев назад
sometime in future, sure :)
@ohwow2074
@ohwow2074 11 месяцев назад
You are very beautiful (unlike C++ syntax)
@CodeBeauty
@CodeBeauty 11 месяцев назад
just give it some time, it will grow on you..and thanks :D
@anticorporatists9959
@anticorporatists9959 11 месяцев назад
Elon should be a 6, not a 10
@CodeBeauty
@CodeBeauty 11 месяцев назад
naaah, Elon is good kid :D
@anticorporatists9959
@anticorporatists9959 11 месяцев назад
@CodeBeauty wouldn't be too sure about that if you saw what he's done with Twitter