As a computer science student, I really appreciate all of your videos. They make all these complicated topics so much clearer. :)
On behalf of all programming students; cout << "THANK YOU!!!" << endl;
One thing I have learned is that it is good practice to pass things by reference unless you have a good reason not to, because if you pass by value, the computer also needs to copy the object whenever a function gets called. If the object used is especially large, or you're calling a function especially often, or both, passing by reference means your code will run much faster.
I needed this. I almost have a minor in CS and didn't clearly understand this concept until now. THANK YOU!
Dude! Yes finally I understand why my value changes, but when the funtion is ended, the value is restored. The &value did the trick, man I lost 6 hours of trial and error and this dit it in 10 seconds. Thank you for your knowledge . Cheers
Actually thank you so much, I've been stuck on functions for a week and a half now using codecademy, and I knew I was stuck on one concept, but could never figure it out. After this video I have so much of a better understanding. I never even knew the difference of passing by a reference to passing by value. Honestly this one of the best video I've come across on the internet in terms of explanation for beginners.
thank you so much!! i've been stuck on this concept for so long, but it's starting to make sense! thank you!!!
Thank you as an engineering student that has nothing to do with programming whatsoever but required to by my college. You've really helped me 😂
Really appreciate your efforts and make concepts very SIMPLE. Very few tutors/teachers can have this abilities. You helping many lives who struggle with C++. God bless you @Caleb
He is a keeper of the peace, 'his name is...' We thank this man...
I feel so validated that you acknowledged that there is a learning curve to writing an and sign. I’ve been working on my and sign lately too.
you're damn underrated, pal. Thanks for easing down this important feature of C++
Thanks a lot, Sir. From India
Dazzling explanation! Greetings from Bulgaria!
Once again, you nailed it with the explanation. Good job 👌
OMG ty I watched this before a final and aced that portion of it.
i play your videos on 2x, you are not boring or slow, your explanations are so that even a dummer like me can understand it very easily even on high speed
Should also mention that if you use a prototype, it also needs to have the & sign.
This is definitely one of the more confusing things... Thank you for this explanation!
@javathehut3593