📚 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.
I saw several videos in this channel and I think it is a great course/s to learn, to remember several essential concepts of programming. Great! Many thanks :)
This just blew my mind, I'm learning c++ for a project, the reference code I found is so confusing so I was just watching some youtube videos to understood, and yours is really well explained, thank you! It was an absolute mind-blowing to me 🤯❤
I'm starting my final year papers at uni, my algorithms and data structures paper uses c++ and the way they explain things is soooo much more confusing than you do!! I felt like you explained linked lists SO well that I'm going to watch this whole pointers series, even tho I've already learnt them, I don't fully get it. I hope you have content for all the other topics we learn!! Thank you!!
One solution for the last part is to use: sizeof(luckyNumbers) or luckyNumbers.size() in the for loop condition. So we can avoid accessing memory location not belonging to us.
I know you mention it's tough recording video's while trying to break the language barrier. I have no issue understanding anything you say nor do I even notice the little thing's that you mention in these pop ups about some mispronounced word. I never even notice and I'm grateful that you took the time to do it in such a manner. I would have missed out had this been in any other language as I'm unable to speak any other myself. Cheers!
Thanks for the great video! Minor nitpick/addition (from my understanding, please correct me if I'm wrong!) regarding the array overshoot at 10:07: The data accessed there is "not ours" in the sense that it doesn't belong to the array, but it's not really "someone else's" in the sense that it belongs to another program - the memory belongs to the program being run. If you try to access memory outside of that allocated for your program you'll get a segmentation fault - you can try this out by overshooting the array by a larger number (2000).
did as you said!! got this " Exception thrown at 0x009A6010 in Pointers and arrays.exe: 0xC0000005: Access violation reading location 0x00F61000. " thanks!!!
Such an amazing explanation. I was checking on a very well know online course, specifically for how to combine Pointers and Arrays and they include Stack and Heap in the explanation trying to clarify but that was really confusing then I found this video and this is very concise, straight to the point and very well explained, I loved it. Now I am ready to continue with me C++ project 😊
Just to note, your last example (going past the end of the array) may cause a crash, and not do the cout (depends on the memory layout eg the pointer could go into reserved memory).
Good point! In higher-level languages this is handled, in C++ you have to take care of it yourself and must not go out of the index range of the array. 🙌
curly brackets are shortened for pointers, the long usage is *(luckyNumbers + 2) and short representation for this same is luckyNumbers[2] . Functionality of that two is exactly this same, but second one a lot of times is misunderstanding by new peoples who start learning C++ and C. Peoples teaching arrays forget to mention that this is dereferencing pointer style, that so important stuff causing peoples who try to learn it are doing mistakes in programming and have hard time to fixt that. Especially when function come in to play. Passing array of pointers using that quotation luckyNumbers[2] cause problems, when is time to deference it.
a nice video tutorial again, thanks :) But please keep going to make videos about pointers more such as how to pass it to function as a parameter, how to create char pointers.
@@CodeBeauty very cool, so we are going to watch them soon :) I don't know how much effort do you spend for edit videos but you look expert to teach us these topics :)
mam we need full course of data structure and algorithms with C++ your method of explanation is very clear need this course very badly as soon as you can mam we all viewers will be very thankfull of you and i have already started this university but for me its not very helful so that why this course will help alot of students
Great Video! I just have one confusion about the usage of the "system("pause>0");" at the end of the main function. Why is it being used as this is not a GUI application where the pause is important?
Dang. That one's a good explanation for pointers and references. One question, lists doesn't have element invocation using square brackets. Can we use *(array+integer) to traverse on it?
its the IDE doing it, you should avoid those type of practices, in fact, it's recommended to learn to code on a text editor such as Vim, mcedit etc when you are learning so you can learn the good habits from the start.
Saldina please how do you make the program read the first index of an array as one? That’s if you are writing a program for inserting a value at a specified position in an array and you don’t want the output to be strange to the user.
@CodeBeauty Please keep going, learning a lot, this is really the best channel when it comes to learn C++, kindly can you plase in the future make tutorials about CMake and Unit Testing in C++?
Just out of curiosity: Is there any reason to use those clumsy, uneasy and non-canonical C-Arrays over std::array and std::vector? Most of the discussed problems in size-assertions, usage in range-based-loops and most importantly conversion from T[ ] to T* in return statements are solved for about a decade. In all other regards a very good video, just append the reference to std::array in a prominent place if possible.
@@day4834 Hi, thank you for your response:) I don't know where the problem is but I did it the way it is shown in the video and it just doesn't work. I'm putting in two values (it doesn't work with one value either) as it is a 3x3 Matrix but no success (I want to compute the determinant). Unfortunately I can't really post my code here as it is for a HW and my professors check for plagiarism.
@@Sisa095 Hi simonay, understood. Sorry I can't help here, this seems to be the Laplace Expansions for the Determinant which I'm not particularly good at.
Can you make a toturial about ploting a curve? Like Develop a program that plots the curve y = 4x3 - x4; for x from -10 to 10 in an increment of 0.5. I really need to know it, nextweek is our finals.
📚 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.
Please, use "an" instead of "a" before words that begin with a vowel: an operation
beautiful Saldina, sorry!
Everything seems easy when taught by you😌
I saw several videos in this channel and I think it is a great course/s to learn, to remember several essential concepts of programming. Great! Many thanks :)
This just blew my mind, I'm learning c++ for a project, the reference code I found is so confusing so I was just watching some youtube videos to understood, and yours is really well explained, thank you! It was an absolute mind-blowing to me 🤯❤
I'm starting my final year papers at uni, my algorithms and data structures paper uses c++ and the way they explain things is soooo much more confusing than you do!! I felt like you explained linked lists SO well that I'm going to watch this whole pointers series, even tho I've already learnt them, I don't fully get it. I hope you have content for all the other topics we learn!! Thank you!!
I'm sure that you'll learn si much from this course, and that all the pieces will come together and complete your knowledge of pointers ☺️☺️
Finally, I have found the best teacher in the world!
🥰🙏💙
Beautifully explained + You said Derefrenciate 5 times.
Hahaha, I filmed a couple of videos that day and edited only this one so far. I hope that there will be no "derefrenciate"-s in the other ones. 🤭
@@CodeBeauty These minor mistakes doesn't matter in front of all the efforts you are putting in these videos.
Thanks!
you're soo underrated you deserve a lot more subs than you have right now
One solution for the last part is to use: sizeof(luckyNumbers) or luckyNumbers.size() in the for loop condition.
So we can avoid accessing memory location not belonging to us.
It will cout 20 instead of 5, try
int getArrayLength = sizeof(myNumbers) / sizeof(myNumbers[0]);
cout
I know you mention it's tough recording video's while trying to break the language barrier. I have no issue understanding anything you say nor do I even notice the little thing's that you mention in these pop ups about some mispronounced word. I never even notice and I'm grateful that you took the time to do it in such a manner. I would have missed out had this been in any other language as I'm unable to speak any other myself. Cheers!
Thank you very much!!!! The best classes I've received.
For the first time in 4 months, I'm finally able to understand pointers thanks to you.
One of the best course's I have ever find! tnx a lot from Iran❤️
I'm happy to hear that. Many greetings for you! 🥰🥰
Thanks for the great video! Minor nitpick/addition (from my understanding, please correct me if I'm wrong!) regarding the array overshoot at 10:07:
The data accessed there is "not ours" in the sense that it doesn't belong to the array, but it's not really "someone else's" in the sense that it belongs to another program - the memory belongs to the program being run. If you try to access memory outside of that allocated for your program you'll get a segmentation fault - you can try this out by overshooting the array by a larger number (2000).
did as you said!! got this " Exception thrown at 0x009A6010 in Pointers and arrays.exe: 0xC0000005: Access violation reading location 0x00F61000.
" thanks!!!
Thanks a lot
Now I finally understand them
I Feel I'm ready for tomorrow's final exam
thank you so much,your voice is so nice even it leads me to understand easily
Such an amazing explanation. I was checking on a very well know online course, specifically for how to combine Pointers and Arrays and they include Stack and Heap in the explanation trying to clarify but that was really confusing then I found this video and this is very concise, straight to the point and very well explained, I loved it. Now I am ready to continue with me C++ project 😊
excellent explanation, you answered all the questions I had about pointers with arrays and taught it perfectly for beginners! 👏
Thank you for the help, explained it very well.
Very thorough videos... Thanks!
5:18 what hotkeys do you use to comment out the highlighted text?
Hold Ctrl and pres K and C 😊
Very good video. I learned something new!
Excuse me teacher system(pause>0) What's it means? please kindly explain thanks.
Best coding lesson ever
Ca you explain more clearly why we should be careful with memory allocation?
these course are very clear and the language is clear to for french guy
This is the best video i could find, thx ma'am 🎉🎉
I haven't used c++ or computers in 15yrs. Kinda interesting to refresh -- especially from such a babe!
Thank you so much ma'am. You really make programming very fun and interesting.
Just to note, your last example (going past the end of the array) may cause a crash, and not do the cout (depends on the memory layout eg the pointer could go into reserved memory).
Good point! In higher-level languages this is handled, in C++ you have to take care of it yourself and must not go out of the index range of the array. 🙌
@@CodeBeauty That's Operation System's main job, put borders between applications :)
Could you please explain the line 'system("pause>0")'? I know what it does but I'd like to know more about the syntax. Thanks!
Sure, here is a video about that 😊
ua-cam.com/video/VcLMLEw4sn8/v-deo.html
@@CodeBeauty Thank you very much!
wonderfully explained
5:18 what do you press for commenting the lines Saldina?
I understood perfectly 😊😊 thank you
🤗🥳🥰
I have exam tomorow you just saved me
Arigato 🙏
Good luck! 🤗🥰
curly brackets are shortened for pointers, the long usage is *(luckyNumbers + 2) and short representation for this same is luckyNumbers[2] .
Functionality of that two is exactly this same, but second one a lot of times is misunderstanding by new peoples who start learning C++ and C. Peoples teaching arrays forget to mention that this is dereferencing pointer style, that so important stuff causing peoples who try to learn it are doing mistakes in programming and have hard time to fixt that. Especially when function come in to play. Passing array of pointers using that quotation luckyNumbers[2] cause problems, when is time to deference it.
easy to undesratnd excellent tutorial + the tutor is very very beautiful
Thank you 🥰🥰
Do you by chance have a video covering sorting and searching values through an array?
Whoaa this sure will do a great job tomorrow in my exam lol. Awesome explanation!
a nice video tutorial again, thanks :) But please keep going to make videos about pointers more such as how to pass it to function as a parameter, how to create char pointers.
I already have filmed videos related to some of those topics. I just haven't edited 'em yet. 😊
@@CodeBeauty very cool, so we are going to watch them soon :) I don't know how much effort do you spend for edit videos but you look expert to teach us these topics :)
You are simply the best
Could you make a Stl tutorial ?It will be great!
Awesome explanation :D
mam we need full course of data structure and algorithms with C++
your method of explanation is very clear
need this course very badly as soon as you can mam we all viewers will be very thankfull of you
and i have already started this university but for me its not very helful so that why this course will help alot of students
Thank you so much.Its very useful and easy way to understand programing language. we want more languages videos like python full course
how would I print those values from last element with index 4 to index 0
What are you using that puts in all those spaces in the code? I really like that you can just keep typing.
I love your explained too much keep going 🇪🇬
I wish I found this channel sooner lol
Great Video! I just have one confusion about the usage of the "system("pause>0");" at the end of the main function. Why is it being used as this is not a GUI application where the pause is important?
how do you make the terminal pop up with visual studio code when you run the program?
gracias estaba en el borde de la locura
Please what IDE were you using here?
what an explanation mam! ❤️
Do you have a video of removing blank spaces in a sentence
Dang. That one's a good explanation for pointers and references.
One question, lists doesn't have element invocation using square brackets. Can we use *(array+integer) to traverse on it?
@codebeauty 0:52 how do you put space between characters like that? whats the keyboard combination please?
its the IDE doing it, you should avoid those type of practices, in fact, it's recommended to learn to code on a text editor such as Vim, mcedit etc when you are learning so you can learn the good habits from the start.
@@luzten programmers are lazy bro yk
Saldina please how do you make the program read the first index of an array as one?
That’s if you are writing a program for inserting a value at a specified position in an array and you don’t want the output to be strange to the user.
Do you also do paid training for C++ beginners?
I used to work as a programming instructor on paid courses in my free time, but I don't have enough time now, so I don't do it anymore. 😊
Hi..what is the meaning of👇
system("pause>0");
return 0;
@CodeBeauty Please keep going, learning a lot, this is really the best channel when it comes to learn C++, kindly can you plase in the future make tutorials about CMake and Unit Testing in C++?
if someone just want to learn c# and web development does learning C++ will help him a lot ?
Thank You so much
Love your videos! I actually understand what is going on! lol
Just out of curiosity: Is there any reason to use those clumsy, uneasy and non-canonical C-Arrays over std::array and std::vector? Most of the discussed problems in size-assertions, usage in range-based-loops and most importantly conversion from T[ ] to T* in return statements are solved for about a decade. In all other regards a very good video, just append the reference to std::array in a prominent place if possible.
So what is the _point_ of using the ampersand, if you can access the address without it? Or is that just for arrays?
nevermind, I got it.
Jel mogu privatni časovi kod tebe
+1
Thank you mam this is very helpful for me 👍🥰
thanks for helping me
Great explain
Help a lot, thank u!!
A nice lecture.
5:19 what is the short cut to comment all the lines at once?! O.O
ctrl+k and then ctrl+c. to uncomment the selection press ctrl+k then ctrl+u
I love you so much
thanks for the video
Thanks for this video! Can you do videos on vectors too?
The luckyNumbers[5] array is a vector, as it has only one dimension.
Are there any videos for arrays 😪
why are you always using system pause line in the end of the code
Hey, there is a video about that on my channel. Just search for "system pause codebeauty" and you can watch the explanation with examples 😃
ım so happy that i found you your code is gorgeous like you
ok your earned my sub
very understandable
Thank you a lot .. just thanks
Subscribed! I would like to see more on arrays and c-strings
Hi 🤗
Check out my Data structures playlist. I have a video related to arrays there 😊😊
@@CodeBeauty SImp
thankyouuuuuuuuuu😭
Thanks
she is catching up to Bucky! Great video tho!!
i already know c++, i'm only here to video.like++ && video.views++; love you!
Thanks so much! 🥰
Thank you mam🙏
Hi Saldina! Will you be covering more advanced stuff like data structure & algorithms in future?
Pozdrav iz Hrvatske!
That is the plan 😉
Veliki pozdrav iz Mostara! 🇭🇷🥰
Hey pozdrav means congratulations in English?
@@becomplextobesimple Hej and pozdrav are synonyms and mean hi or hello
~5 "differentiates" 😉
For beginners - favour vector over array.
This isn't working for me, instead of outputting the numbers there are adresses outputted
Hi, try to compare your output code with mine
for (int i = 0; i
@@day4834 Hi, thank you for your response:) I don't know where the problem is but I did it the way it is shown in the video and it just doesn't work. I'm putting in two values (it doesn't work with one value either) as it is a 3x3 Matrix but no success (I want to compute the determinant). Unfortunately I can't really post my code here as it is for a HW and my professors check for plagiarism.
@@Sisa095 Hi simonay, understood. Sorry I can't help here, this seems to be the Laplace Expansions for the Determinant which I'm not particularly good at.
@@day4834 Thank you nonetheless:)
Good
This was for beginners?
is succesfull code :
char arr[] = {'a','b','c','d','e'};
for(char* pointer = arr; *pointer != arr[4]; pointer++){
cout
Thanks very much for your video! Explanation was easy and useful to understand. Subscribe ++
Welcome Anna! 🤗💗
Ave Saldina
Wow!
Can you make a toturial about ploting a curve? Like Develop a program that plots the curve y = 4x3 - x4; for x from -10 to 10
in an increment of 0.5. I really need to know it, nextweek is our finals.
will somebody give her a clap *clap**clap**clap**clap*