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

  Рет қаралды 18,133

CodeBeauty

CodeBeauty

Күн бұрын

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) - • DATA STRUCTURES - How ...
Different types of constructors - • OOP Constructors - Typ...
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

Пікірлер: 105
@CodeBeauty
@CodeBeauty Жыл бұрын
📚 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.
@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 :)
@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.
@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
@alishafii9141
@alishafii9141 Жыл бұрын
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.
@christopherrice891
@christopherrice891 Жыл бұрын
I love watching your C++ videos Saldina🤗
@anwar6971
@anwar6971 Жыл бұрын
Hi, nice to see you again. I hope you continue with this series of data structures.
@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 :)
@georgebentley-ricardo9445
@georgebentley-ricardo9445 Жыл бұрын
Thanks for sharing. Excellent tutorial, relevant, and very useful content. Easy to follow too 🤠👍
@CodeBeauty
@CodeBeauty 11 ай бұрын
Glad it was helpful!
@JorielTejada-te4dd
@JorielTejada-te4dd Жыл бұрын
Finally!! I hope Graph data structure is include in this video
@gollygobih6527
@gollygobih6527 11 ай бұрын
thank you saldina, you are the best professor!
@CodeBeauty
@CodeBeauty 11 ай бұрын
You are welcome!
@saa6390
@saa6390 Жыл бұрын
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
@marym9003
@marym9003 11 ай бұрын
best teacher ever ❤❤❤
@CodeBeauty
@CodeBeauty 11 ай бұрын
thank you thank you :D
@user-vt1pi7nx2w
@user-vt1pi7nx2w Жыл бұрын
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.
@hilgicamala2520
@hilgicamala2520 11 ай бұрын
your videos are very easy to follow
@CodeBeauty
@CodeBeauty 11 ай бұрын
thank you :)
@Dan-yd2jq
@Dan-yd2jq 11 ай бұрын
Such a good teacher. Not even in your native language either! Super clever!
@aapck
@aapck 11 ай бұрын
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 :)
@user-yt9yi5gn3m
@user-yt9yi5gn3m 11 ай бұрын
you have a natural gift in explaining
@CodeBeauty
@CodeBeauty 11 ай бұрын
thank you, it means a lot :)
@hammadtahir9164
@hammadtahir9164 10 ай бұрын
Amazing content, please upload more content regarding Data Structures.
@abdulazizabubakar6539
@abdulazizabubakar6539 Жыл бұрын
Your teaching is my favorite. Much Love Master 🤩
@CodeBeauty
@CodeBeauty 11 ай бұрын
Happy to hear that!
@oxamic9953
@oxamic9953 7 ай бұрын
thank you!
@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
@py2pw
@py2pw Жыл бұрын
Thanks for sharing your knowledge Saldina ! Greetings from Brazil ...😉
@CodeBeauty
@CodeBeauty 11 ай бұрын
You are very welcome :)
@deanmorrison6254
@deanmorrison6254 11 ай бұрын
very helpful, thank you so much
@CodeBeauty
@CodeBeauty 11 ай бұрын
You're so welcome!
@user-sw8bq1rk9c
@user-sw8bq1rk9c 11 ай бұрын
great job, thank you Saldina, this is very helpful
@CodeBeauty
@CodeBeauty 11 ай бұрын
Glad it was helpful!
@mduduzikhoza8950
@mduduzikhoza8950 Жыл бұрын
Great! Thank you.
@CodeBeauty
@CodeBeauty 11 ай бұрын
Glad you liked it!
@ROYALNIL_SITE
@ROYALNIL_SITE 10 ай бұрын
EXELLENT, THANBKS
@amelccc
@amelccc 11 ай бұрын
great job as always 👌👌
@CodeBeauty
@CodeBeauty 11 ай бұрын
Thank you so much 😀
@user-yr5oi6ns8c
@user-yr5oi6ns8c 11 ай бұрын
Very Beautiful explanation
@CodeBeauty
@CodeBeauty 11 ай бұрын
Thanks and welcome
@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 ?
@jorgetorres1670
@jorgetorres1670 Жыл бұрын
Thanks
@CodeBeauty
@CodeBeauty 11 ай бұрын
No problem
@MohammedMikail-gy9rc
@MohammedMikail-gy9rc Жыл бұрын
Finally 🎉
@CodeBeauty
@CodeBeauty 11 ай бұрын
Cheers.
@feliz_8a16
@feliz_8a16 Жыл бұрын
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!
@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.
@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.
@codeoasis1180
@codeoasis1180 11 ай бұрын
flawless
@CodeBeauty
@CodeBeauty 11 ай бұрын
thank you
@daviddomenici7940
@daviddomenici7940 Ай бұрын
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 Жыл бұрын
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: kzfaq.info/get/bejne/i7-JotRonZrUgY0.html And there is also another one about constructors in general here: kzfaq.info/get/bejne/nqihaah4vZuteWg.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.
@Hicham_xer
@Hicham_xer Жыл бұрын
💙💙
@user-vu7gu1wn4p
@user-vu7gu1wn4p Жыл бұрын
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
@nevram0101
@nevram0101 Жыл бұрын
Hi, watching here from philippines,
@CodeBeauty
@CodeBeauty 11 ай бұрын
Greetings for Philippines
@peteclark8092
@peteclark8092 10 ай бұрын
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 Жыл бұрын
😻😻😻😻😻
@Goliank4987KatiUchaDiedy
@Goliank4987KatiUchaDiedy Жыл бұрын
Cool... " - Saldina ...."😀
@CodeBeauty
@CodeBeauty 11 ай бұрын
Thanks :)
@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
@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: kzfaq.info/get/bejne/d8uph7Z9rK-8YYE.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.
@kpgmob6888
@kpgmob6888 Жыл бұрын
please explaine api key using c++ 🙏
@CodeBeauty
@CodeBeauty 11 ай бұрын
another one for my TODO list, thanks for suggestion though :D
@temercastle7193
@temercastle7193 Жыл бұрын
Thank you Saldinaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
@CodeBeauty
@CodeBeauty 11 ай бұрын
you are welcomeeeeeeee :)
@user-gw3ur9im7y
@user-gw3ur9im7y Жыл бұрын
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 Жыл бұрын
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!
@ohwow2074
@ohwow2074 Жыл бұрын
You are very beautiful (unlike C++ syntax)
@CodeBeauty
@CodeBeauty 11 ай бұрын
just give it some time, it will grow on you..and thanks :D
@user-gb7os6ym7l
@user-gb7os6ym7l Жыл бұрын
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 Жыл бұрын
Can you please teach Html and css web development please
@CodeBeauty
@CodeBeauty 11 ай бұрын
sometime in future, sure :)
@anticorporatists9959
@anticorporatists9959 Жыл бұрын
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
Dynamic Arrays of Objects (Data Structures course, step-by-step)
46:29
Understanding Ownership in Rust
25:31
Let's Get Rusty
Рет қаралды 245 М.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 126 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 20 МЛН
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 40 МЛН
#08 [oop] - Array of object and Pointers to Objects
38:43
Adel Nasim
Рет қаралды 85 М.
Why Function Pointers are Awesome
11:11
Jacob Beningo
Рет қаралды 5 М.
Rust and RAII Memory Management - Computerphile
24:22
Computerphile
Рет қаралды 220 М.
What is Mutex in C++ (Multithreading for Beginners)
12:29
CodeBeauty
Рет қаралды 40 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 523 М.
Simulating the Evolution of Rock, Paper, Scissors
15:00
Primer
Рет қаралды 720 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 25 МЛН
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 13 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 508 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 334 М.