Sending thanks from 10 years later. Your explanation was very helpful and I understand the topic now. Again, thank you!
@williamrubi43263 жыл бұрын
Taking my first embedded class and found this video. I wasn't confident with functions being passed by value, therefore I did not understand how to write my hw code. I watched this video right now (1:30am) and not only did I feel much better on the topic but, I also was able to write code and complete my hw understanding everything I did. Truly, thank you. This video was put up 8 years ago and is still saving students. Thank you.
@esdenaze9 жыл бұрын
I applaud you for repeating and leaving in the errors. This makes it realistic and less frustrating to learn. Good teacher!
@Ammeeeiizing2 жыл бұрын
I like the fact that you go through all misstakes too! Makes it easier to follow the whole process. Thank you !
@christinasarah276610 жыл бұрын
GOD bless you. This tutorial is authentic and straight to the point. Keep up the good work!!!
@sakitech11 жыл бұрын
Because you are shipping variables outside of the main function. When they come back to main, I want the modified versions to come back. Then I can resend them out with updated values. You need ampersand sign anytime you want to modify the ACTUAL variable.
@AYHA09 жыл бұрын
thank u from the bottom of my heart u made what i coudnt understand it in 4 month in 20 min easily
@Dani986647 жыл бұрын
Spent an hour trying to get this information. So glad I found this video!
@tobiasrodrigues18 жыл бұрын
Thank you so much. I watched other videos where I got all the basics and still didn't get it. I finally understand and you made it so simple. You really helped me a lot.
@Raulz7138 жыл бұрын
Thanks very well explained. Just finished my Programming Fundamentals class and these videos are great as a refresher.
@Eeeppy7 жыл бұрын
Thank you so much for this tutorial....You don't jump around topics and you present the material very thoroughly. I appreciate it. =)
@ernestogarcia83515 жыл бұрын
nice video!!! 9:50 - end was extremely helpful , I am now ready for my quiz!!!
@techiquirl7 жыл бұрын
This is the best tutorial I've seen for udf variable ever! Thank you!
@asemnafiz10 жыл бұрын
Best explanation ever! Been confused with this thing since yesterday....been going through notes, textbooks and other youtube videos and finally I got it. Thank you!
@mydearpcy8 жыл бұрын
thankyou mister. You are very good at explaining and make me more understand about this topics. Much of helps!
@plastic27life9 жыл бұрын
clear and to the point. you've been a blessing
@Rizwaannminhas8 жыл бұрын
Thankyew brother. i understand this topic frm only one video of yours. Thanku again !
@shahuzinlafeer53310 жыл бұрын
Thank You very much. i was struggling with this concept and thanks to your video everything is now cleared. well done!!
@tykechingching10 жыл бұрын
Thanks for this video Sakitech. I was struggling to find material to help me with this topic, but you did it so clearly!
@_DarkKnight2301_5 жыл бұрын
Amazing video. Was trying to find something like this for a few hours because I just wasn't figuring out how to do it. Currently in an intro course and I'm jumping ahead and trying to make a slightly complicated math practice program using the basic arithmetic operations. This is hopefully the final key I need to really build the design I want. Though I do need to figure out how to stop the program from breaking when a char is entered instead of an int. lol
@aydinahmadli70055 жыл бұрын
greatly explained, and informative video, thank you!
@kzukijn7 жыл бұрын
Hi Sakitech... thank you for this tutorial. I cannot finished my Homework done by time if i haven't seen this tutorial for functions. Been stuck for 2 days working out on it. The book is so flat that I couldn't understand it. Thank you! Keep it up!
@brettnieman34537 жыл бұрын
Way better explanations than my actual C++ class!
@arifhakiminadnan48807 жыл бұрын
a very clear explanation , u deserve to be a lecturer
@winterslee9 жыл бұрын
Thanks sakitech , it helps me a lot
@WinningBURRIT09 жыл бұрын
This video saved my life. Thanks man.
@brandonfarr563810 жыл бұрын
Thank you so much! That was a really great analogy comparing the reference parameter of a function to shipping an object, in order to get it modified.
@gmartshopper9 жыл бұрын
Wow, this tutorial was SUPER helpful!!! I was having trouble figuring out the difference between passing variables by value vs. reference. Thanks!
@KittyKode7 жыл бұрын
crystal clear explanation ,tnx man
@danyalfayazi88046 жыл бұрын
thank you so much. god bless you you have no idea how much you thought me.
@oliffx19 жыл бұрын
Good stuff, you explained much more clearly than my lecturer!
@amaliavina40297 жыл бұрын
Excellent tutorial!!! Thanks,
@bryankim79667 жыл бұрын
outstanding tutorial. I was screaming the whole time when you mispelled "calculate" though
@venzeti4 жыл бұрын
Honestly, thank you so much!!
@Esther0104 жыл бұрын
Thank u very much, I appreciate it
@NicoEstebanR9 жыл бұрын
Thank you so much this helps a lot
@Stangil18 жыл бұрын
Very good video.
@adibaiman5703 жыл бұрын
thankyou so much sirrr !!
@npn75646 жыл бұрын
very great tutorial.
@Kevin05948 жыл бұрын
You.. sir.. are a LIFESAVER, THANK YOU
@mamuchjero91995 жыл бұрын
Construct a function named pass() that accepts a double precision arguments - the mean tolerance of a group of parts and returns a reject or accept code depending on whether the mean tolerance is less than or greater than 1.0%. If the mean tolerance is less than 1.0%, the function should return an A to accept ;otherwise, it should return R to reject. how can i solve this ?
@sakitech11 жыл бұрын
Coming soon, sooner than a week.
@bhaskarchary66839 жыл бұрын
will you please show me the debugging procedure to find bugs in c++ with embercadero tool
@sirpj69558 жыл бұрын
Great video! Thank you
@gerardomarchetti66347 жыл бұрын
Thakns man!!! you save me !!! :D
@Basedeath7 жыл бұрын
What if I want a function to add to a variable in the main instead of switching values with it?
@andriyblyznyuk55908 жыл бұрын
Hi. I have a question. So if you would not pass value by reference, then int number1and number2 would remain 0?
@sardorbekmuhtorov70187 жыл бұрын
yeah i think so , idk how it is working
@BEESkneesz11 жыл бұрын
Have you done arrays?
@lemmeleeds52916 жыл бұрын
Thank you so much .. it helped me a lot... (love from pakistan)
@gjohnson11949 жыл бұрын
great video
@informativecontent47786 жыл бұрын
Thanks man
@Matice212 жыл бұрын
Why can't the function definition and prototype be above the main(); function?
@ap-lq1cq4 жыл бұрын
Whats the use of prototype?
@BumsInChocolate6 жыл бұрын
This guy is a legend
@NicksLocker8 жыл бұрын
Thanks!
@abdiwahabadan18174 жыл бұрын
very simple easy to understand, thank you i wish you best of guidance from Allah and best of guidance is Islam.
@yuesun39354 жыл бұрын
thank you sir
@RimSelektaMusic9 жыл бұрын
Thank you
@mamunbinrashid46357 жыл бұрын
#include using namespace std; void input(int ,int ); void calculate(int , int , int ); void print(int ); int one,two; int total; int main() { //int one,two; //int total; input(one, two); calculate(one, two, total); print(total); } void input(int , int ) { cout one; cout two; } void calculate(int , int , int ) { total = one +two; } void print(int ) { cout
@BURU19948 жыл бұрын
can you make a function that takes two inputs arguments and provides two separate results to the caller, one that is the result of multiplying the two arguments, the other the result of additing them.
@c0ntender19 жыл бұрын
why am i getting a total of 0 zero on display
@ShaunJW19 жыл бұрын
Thank fuck someone could explain this to me, when im a billionaire ill send you a Ferrari good sir!
@samjones85737 жыл бұрын
Sir I want to learn C++ functions
@amirulyusoff43384 жыл бұрын
is there any way to use instead of using "&" ? anyone who know feel free to comment. I have to do my assignment. Thank you in advance.
@festuskemboi42577 жыл бұрын
it was awesome
@thenoobsterman9 жыл бұрын
proooo-toeeeee-typeeeee lol good tutorial though. In the last part is it even necessary to pass total to print_Results as reference? You dont modify it in any way you just print it.
@BDC2K6 жыл бұрын
Only put the data type(s) in a prototype's parameters! Example: void print(int x); // Wrong void print(int); // Correct
@BDC2K6 жыл бұрын
There were so many errors in the video, that I realized that I don't want to comment every single error, it's too much work...
@rowel97857 жыл бұрын
I don't know where ampersand is in my keyboard :(
@shariqkhan46277 жыл бұрын
so sad
@kenshinhimura87086 жыл бұрын
9:30 “Don’t try to learn this while you’re taking C++...” Too bad they force you to try and learn it at that point 🙃
@dalalalghomlas160010 жыл бұрын
could you talk about reference in more advance way ! i need to know the root of this please!
@LK-pc4sq9 жыл бұрын
I think he is good, repeats so we can absorb it. Btw, text after (int x) is grey and very hard to read. I cannot see it. It is a //comment. Could be my laptop screen it is a anti glare screen so not sure.
@user-pb8qi2yy7f9 жыл бұрын
videos are good but plz increase clarity
@raginibhayana11177 жыл бұрын
why do we need a prototype?
@chikipichi52803 жыл бұрын
Damn I could tell this was explained very clearly and I still don't get shit
@thatcosmokramer6 жыл бұрын
>sees that he types endl; instead of NO
@HardNougat7 жыл бұрын
Thank you! It never occurred to me that a function doesn't actually change the value of a variable in main...that is unless you use pass by name.