[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –

Buckys C++ Programming Tutorials – 11 – Functions That Use Multiple Parameters
by
Tags:
Comments
44 responses to “Buckys C++ Programming Tutorials – 11 – Functions That Use Multiple Parameters”
-
ok, now if you don't mind me asking, what would be done if you want user input integers? would the instruction for that be in the declared function or would it be in main? . – .
-
And they are teaching me BASIC in school
-
Bucky is FANTASTIC.
I can learn C++ at my own pace. -
I watched his series a year ago in normal speed and learned so much. I am currently reviewing c++ for this semester and am watching 2x. This is so convenient
-
Anyone watching in August 2017?
-
Hey someone please answer this. What is the real use of return answer; cause even if I do not use return answer; programme runs fine.
-
Wow , Increase video speed to 0.5
-
You say that the users enter the variable values but I don't see how they can? Can you show me?
-
What happens if you return twice in the same function?
-
u r funny 😀
-
Last month i didnt know anything about programming, it was like people were speaking chinese, hahaha. Easy, calm down jack, dont freak out like a villain with a good plan. AAAAAHAHAHAHHHHHAAAA.
-
Love you bucyy , Ohh OMG the way you teach . aaaaah
-
Do you make more advertising revenue if I watch the entire ad, instead of skipping? Or is it just better for me to watch on your website?
-
Thank you Bucky
-
Hello Bucky, would you please explain something to me.
What is the difference between what you are showing here with the return function of int and creating a void function that cout the sum?
void sum(int x, int y){int sum = x +y; cout << sum;}
/* describes a function that is passes 2 parameters by value, a variable sum is declared as the sum of the passed values then output.*/ -
SOMEONE BUY THIS MAN A BEER
AND A CAR
AND ANYTHING HE NEEDS BECAUSE HES AWESOME -
i really don't understand what does this return do…
because if i write return asnwer………….. or i don't write return answer…………………. i get the same result. the answer is always shown on console… -
What is the difference between the program you made in Tutorial 5 and the one you made now.
#include <iostream>using namespace std;
int addnumbers(int x, int y) {
int answer = x + y;
return answer;
}
int main()
{int x;
int y;
int answer;
cout << "Enter the first numbern";
cin >> x;
cout << "Enter the second numbern";
cin >> y;
cout << addnumbers(x,y);return 0;
}
This is a modified program of what you showed in this tutorial. According to me both these programs (Program in tutorial 5 and 11) does the same thing (I mean both of them add numbers or they are simple calculators) . Can you please tell me the difference between the two. It will be much better if you came up with a different example. I hope you understand my question.Thank you
Peace -
This guy has 1.6 million subs and over 500k views and teaching us things to help us get a career and his patreon is only at $120 COME ON PEOPLE
-
I am new to c++ and I am not getting why to use this parameters when you can just store the answer value and then call the function in main.I mean why use parameters at all??just store the answer in a variable and call the function directly??
-
Why did he use int and not void ?
-
But what is the point of it since we have [int main()] !!
-
but this calculator just helps you answer questions.
How would this help the person using the calculator answer the questions? -
bucky you are love
-
im 1 years ol i love compuder
-
THIS IS STILL THE BEST C++ TUTORIAL I FOUND ONLINE AND ITS 2017
THANK YOU. -
what if we write cout<<answer instead of return answer
-
Guys, listen to the intro at 0.5x speed! Best shit ever on YT! 😀
-
hello bucky,
i dont understand why we use "return addnumbers and later print it out on the screen we can print it direclty or not??? -
my professor is bullshit
-
pretty cool huh!
-
I see a lot of people on the comments section talking about how this is superior to college.
I knew I was making the right decision to forgo college and just go straight to programming tutorials.
-
what if i want to let the user input the numbers? do i put the "cin>>" in the int function ? and whats the difference between the int and the void function? can i use double as the name of my function or any primitive data type ?
-
everyone is talking about collage I am only 12 XD !!!!
-
why not :
#include <iostream>
using namespace std;
int addNumbers(int x, int y){
int answer = x+y;
cout <<"The answer is : " <<answer <<endl;
}int main()
{
addNumbers(20, 30);
return 0;
}? :p
-
What is an example of something this could be used for? I understand it, but can't think of a situation where I would need it.
-
So basically exactly the same as last time but your just using it like you use variables but multiple?
-
I was going to go to course. Now I ll drink with the money that I would waste on course. Thank you. One beer after every 4 tutorials.)
-
thank youy . i have learn alotaxv;fdghf
-
why didn't you have to declare the variables before making them parameters? I am making a program for my class and I am having trouble getting my variables between functions.
-
#include <iostream>
using namespace std;int main(){
cout << "Thank you for teaching me about functions" << endl;return 0;
} -
can i cout<<answer; instead of cout<<addnumbers(); ???
-
Bucky but what do you do if you want the user to input the value of x and y?
-
HELP!!!!!
What if we just write cout << answer in function insted of returning it and all
Leave a Reply