Buckys C++ Programming Tutorials - 11 - Functions That Use Multiple Parameters

  Рет қаралды 893,667

thenewboston

thenewboston

Күн бұрын

Пікірлер: 765
@jaysonnegron8469
@jaysonnegron8469 10 жыл бұрын
who needs college when you have Buckyyyyyy
@nebbii
@nebbii 9 жыл бұрын
+Jayson Negron CAPTAIN BUCKY O HARE
@magnusonx1
@magnusonx1 7 жыл бұрын
Oh, isn't that the truth !!
@notthekhajiturlooking4836
@notthekhajiturlooking4836 6 жыл бұрын
my professor actually told me about bucky! he said " hes a little unprofessional but good" been watching ever since!
@harnoor4721
@harnoor4721 5 жыл бұрын
no one
@Tuturu3215
@Tuturu3215 5 жыл бұрын
@@notthekhajiturlooking4836 lITtle uNproFessIonaL
@at6727
@at6727 4 жыл бұрын
This series won't get outdated... This going on & on as THE BEST tutorials since the time of Windows 7!
@OzzyHill
@OzzyHill 9 жыл бұрын
Bucky, you just explained in 6 minutes what my Professor couldn't in a month. lol. Ty
@OzzyHill
@OzzyHill 9 жыл бұрын
yep lol
@thescroogemcduck
@thescroogemcduck 8 жыл бұрын
Yeah, any professor who spends a month on functions like this and still fucks up should not be teaching programming.
@Artimagistics
@Artimagistics 7 жыл бұрын
Not all community college professor are bad. I meant bad professors at Universities too.
@arcanerstudios
@arcanerstudios 7 жыл бұрын
Not 6 minutes , 5 minutes (I increased speed to save time) :)
@Mop_Deep
@Mop_Deep 7 жыл бұрын
I can tell you first hand all my community college professors are shit.
@MrTellitToYa
@MrTellitToYa 11 жыл бұрын
INTRO = BEST EVER.
@samm4885
@samm4885 9 жыл бұрын
MrTellitToYa bucky pls
@kiva8986
@kiva8986 7 жыл бұрын
string intro = "Best ever!";
@Muhammed.Yaseen
@Muhammed.Yaseen 6 жыл бұрын
*==
@dbc201theking
@dbc201theking 6 жыл бұрын
Muhammed Yaseen I see what u did there -__-
@Muhammed.Yaseen
@Muhammed.Yaseen 6 жыл бұрын
dbc201theking Thanks lol 😂
@CosmicAstroDuck
@CosmicAstroDuck 11 жыл бұрын
"Lets make some magic happen baby." - Bucky
@dashcampower4622
@dashcampower4622 5 жыл бұрын
i love it :D :D
@jeffreygomez8855
@jeffreygomez8855 4 жыл бұрын
Hahaha his awesome buddy
@tjlewis7868
@tjlewis7868 11 жыл бұрын
it took my professor 2 hours to explain this and i didnt get it. it took bucky 6 minutes to explain this and i get it perfectly. I saved 15% of my grade by switching to bucky
@santoshdwal3086
@santoshdwal3086 10 жыл бұрын
Same here. My professor really makes it much more complex.
@boxman_ninja0819
@boxman_ninja0819 5 жыл бұрын
Geico Reference. Epic.
@shrabon22
@shrabon22 8 жыл бұрын
Captain America made the right choice to trust and support you, Bucky! You are true hero
@Aviation101
@Aviation101 9 жыл бұрын
Your video is super helpful for this CS major :-D
@theseangle
@theseangle 4 жыл бұрын
You're making private cheats for CSGO major?)
@riteshyeddu
@riteshyeddu 4 жыл бұрын
@@theseangle 😂😂😂
@dikshavashisth3947
@dikshavashisth3947 4 жыл бұрын
@@riteshyeddu Indian spotted
@davidmickelson5731
@davidmickelson5731 4 жыл бұрын
youtube should give this guy some sort of award for how many golden one liners he can fit in such a short video lol
@zaidoo9454
@zaidoo9454 6 жыл бұрын
Dude, some professors do not know how to explain anything for real. Your videos have always been helping me to pass my classes and to understand my major. You should consider teaching man. You are the best teacher for real. Keep it up. Best wishes .
@trentmoore5349
@trentmoore5349 7 жыл бұрын
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
@sigilwig444
@sigilwig444 8 жыл бұрын
Drinking game: Take a shot every time Bucky says "Alright," 😂
@aardwolves1563
@aardwolves1563 8 жыл бұрын
Alright
@ΞοηνΓΙΩΡΙΚΑΣΔοε
@ΞοηνΓΙΩΡΙΚΑΣΔοε 7 жыл бұрын
"pretty cool huh?"
@hrithikjoshi2853
@hrithikjoshi2853 5 жыл бұрын
Cant stand after a video
@heisenberg7945
@heisenberg7945 3 жыл бұрын
pretty cool, huh?
@penguin0616
@penguin0616 9 жыл бұрын
I didn't even though there were C++ programming classes until I looked at the comments. Even without knowing that, you are still amazing at this. Thanks man.
@polishhammer1992
@polishhammer1992 7 жыл бұрын
#include using namespace std; int main(){ cout
@theeeyoregirl
@theeeyoregirl 10 жыл бұрын
I'm watching your ad, even though I don't want to...but I appreciate you making these tutorials, which are helping me a whole lot (so I am doing my part and letting the ad play through). Thanks again!
@Waleedanjum79
@Waleedanjum79 8 жыл бұрын
You made this too much easy to learn.
@kelvinubaechu
@kelvinubaechu 8 жыл бұрын
*too easy
@stretfordender321
@stretfordender321 8 жыл бұрын
*Easy much too
@gitacohen4089
@gitacohen4089 8 жыл бұрын
*You've made this very easy to learn!
@Wolfenrahd
@Wolfenrahd 8 жыл бұрын
+Gita Cohen *You easy learn too from much
@NoThing-ec9km
@NoThing-ec9km 4 жыл бұрын
it is too easy to learn it too
@SalsaInABowl
@SalsaInABowl 7 жыл бұрын
Learned more in 20 minutes of this than 5 weeks of lecture in my ECE class
@genbbq123
@genbbq123 9 жыл бұрын
you made it so easy to learn!
@edzeghengoubapericleslidol6562
@edzeghengoubapericleslidol6562 4 жыл бұрын
Seriously your explanation is very clear and everybody can understand c++ fonction very well with you
@DanielGuzman31
@DanielGuzman31 8 жыл бұрын
I tried to watch other tutorials but honestly they all suck! your the best Bucky! this tutorials are super helpful!
@TheCosmicChicken
@TheCosmicChicken 12 жыл бұрын
I only got 3 hours of sleep last night, and Bucky's voice is so soothing that I started feeling very sleepy...
@paradisestrings1654
@paradisestrings1654 8 жыл бұрын
Love the intro man!!! You can be a really good rapper!!! Thanks for the tutorial!!!
@priyanshudas317
@priyanshudas317 12 жыл бұрын
Its really a life changer .. freak me out with its simplicity in explaining the concept .. Amazing video.... keep ur good work....
@charliemvrphy
@charliemvrphy 5 жыл бұрын
Your walk through literally helped me figure out my C++ assignment! I thank you immensely!
@edikoisi2
@edikoisi2 9 жыл бұрын
everyone is talking about their bad professors and im just 15 year old sitting here and learning C++ cuz i cant wait to learn it in school XD
@rileyrileyrileyriley761
@rileyrileyrileyriley761 9 жыл бұрын
+[KEK] _Syntax Shut the fuck up.
@flyzeex4393
@flyzeex4393 9 жыл бұрын
+­ Mineohmight Whats your problem?
@rileyrileyrileyriley761
@rileyrileyrileyriley761 9 жыл бұрын
UltimaSwagg He's trying to sound cool, because he is a twelve year old. No one likes it. It's pretty obvious he is twelve actually, "go fuck yourself fag". I didn't mean to sound rude, I just am getting really tired of little kids doing that.
@Rototornik
@Rototornik 9 жыл бұрын
+­ Mineohmight leave the kid alone, what the hell.
@flyzeex4393
@flyzeex4393 9 жыл бұрын
+­ Mineohmight your a poopy head
@Akiiiza
@Akiiiza 4 жыл бұрын
I'm taking a C++ class right now and functions have been confusing for me...thank you so much for these tutorials! You make it easier to understand! :)
@bwmabe26
@bwmabe26 6 жыл бұрын
Okay. Listen, bud. My c++ class has been literal HELL. You have made it so clear and easily understood. THANK YOU!!!
@rgokhulshriram3932
@rgokhulshriram3932 9 жыл бұрын
Dude , this is THE BEST video in all of youtube......... I could not understand a bit of this before , but now its really clear . Thanks :)
@زيادمحسن-ك7ز
@زيادمحسن-ك7ز 7 жыл бұрын
lol ,6 minutes from bucky are more helpful than years from my prof ..keep it up bucky
@bosefasaurus
@bosefasaurus 8 жыл бұрын
At 3:12 you don't have to create a new variable if you don't want. You could just do "return x+y" for example. No biggie just thought I'd mention that to help anyone following along to learn how to put an expression in their return value. :) This is another way to do the addNumbers() function: int addNumbers(int x, int y){ return x+y; }
@cabreram.4734
@cabreram.4734 5 жыл бұрын
Excelent, thanks 🤗 Is it possible to declare Answer in the parameter of the function? And then in main while assigning the value of the variables put: answer=x+y??
@MrAvocadoMan
@MrAvocadoMan 5 жыл бұрын
@@cabreram.4734 yes but thats redundant. You're giving it the answer just for it to return it back.
@joeman123964
@joeman123964 4 жыл бұрын
@@cabreram.4734 yeah this is a BIG question for programmers. normally people want to return a value back to the main. unfortunately i don't think there is away to return multiple values at once; however, you can return a single value by typing this in the main (example how to make a hero lose health in a video game) LoseHealth(int x, int y) {int newhealth = x - y; return newhealth } main() { int HeroHealth = 100; HeroHealth = LoseHealth(HeroHealth, 50); } that assigns the return value to the variable inside of the main to be used inside of the main.
@nefietm380
@nefietm380 6 жыл бұрын
It took several weeks to understand this chapter... but this 6 minutes video help me a lot... gj m8
@fearguyQ
@fearguyQ 10 жыл бұрын
One of the best things about Bucky's tutorials is how much he divides them. He could have easily done the previous video and this video together and maybe added an extra minute to the video but on the whole that wouldn't be so great because later on if us "students" need to reference back to earlier videos finding what we need would be much more difficult.
@edina7765
@edina7765 7 ай бұрын
We miss you bucky, please comeback !!! You're the reason I didnt give up !!!
@FitGameDeveloper
@FitGameDeveloper 5 жыл бұрын
Pro tip: listen to these videos at 2x speed. Still understandable and much quicker to get through the entire course. I am an intermediate C++ user, though, so this series is more of a refresher for me.
@70mmH5
@70mmH5 10 жыл бұрын
Props, you have a gift for explaining things man.
@adityabarve3722
@adityabarve3722 9 жыл бұрын
#include using namespace std; void birthdate(int a , int b , int c){ cout
@chronikHD
@chronikHD 12 жыл бұрын
for all of u who are trying to enter the number instead of having a preset, it took about 3 hours to solve it here´s how you can do it: int addNumber(int a, int b){ int answer = a + b; return answer; } int main() { int a; int b; cin >> a; cin >> b; cout
@mjsanchez2173
@mjsanchez2173 7 жыл бұрын
Bucky is FANTASTIC. I can learn C++ at my own pace.
@lexii764
@lexii764 11 ай бұрын
still useful 12 years after posting
@archanaatreja3194
@archanaatreja3194 10 жыл бұрын
it would be a lot helpful if you gave questions to practice at the end
@theseangle
@theseangle 4 жыл бұрын
*_Y E S_*
@theblondielifestyle
@theblondielifestyle 10 жыл бұрын
wow I really couldn't understand this when my professor covered it. You made it so easy to understand
@JD-ku9xl
@JD-ku9xl 3 жыл бұрын
i shall continue the legacy of watching his vids even after 11 years later
@ujjawalmehrotra1995
@ujjawalmehrotra1995 9 жыл бұрын
#include using namespace std; void superhero(int x,int y){ cout
@pedrodevsodaghost9282
@pedrodevsodaghost9282 7 жыл бұрын
ujjawal mehrotra My height and width, lmao
@Endgame_01
@Endgame_01 11 жыл бұрын
Don't know if you understood Svartepest but you would basically declare two variables in main (for example int firstNum, secondNum), prompt the user to input two numbers and assign them to your variables, then pass those variables to your function: Function example MyFunction (firstNum, secondNum);
@TheTosa3000
@TheTosa3000 13 жыл бұрын
I have start to see this Tutorial for 3 hours ago, and I now almoust nohting, now make a calculator that I can type in values ​​in the run, and choose whether to write plus, minus, multiply, or divide. and it does not stop there, to continue on, say your guide is valuable and informative:) I go to nexst tutorial:)
@azadalmasov5849
@azadalmasov5849 7 жыл бұрын
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.)
@Moon_Rose달장미
@Moon_Rose달장미 4 жыл бұрын
he never fails to surprise us and make us laugh
@ozzygarcia21
@ozzygarcia21 11 жыл бұрын
He said it in a previous episode. It's used instead of "int" because "int" generally means that the program is outputting a calculated answer to you. Whereas "void" means that it's just doing a simple written out task. (i.e. Print a message you write)
@pranaysharma324
@pranaysharma324 7 жыл бұрын
the way you say "Pretty cool haann " is pretty cool haann
@ds_2357
@ds_2357 7 ай бұрын
Watching it after 11 years and i love Bucky😭
@mpttra530
@mpttra530 6 жыл бұрын
I only have 1 day left to study before my final. really regrets it that I didnt found your channel earlier. btw, i'm now understand about function thanks to you channel. wish me luck for my final.
@horashia495
@horashia495 6 жыл бұрын
Munawir Puttra Asmuwi Saaaammme I found him yesterday and my c++ final is tomorrow ... I'm crying blood right know
@csNoir
@csNoir 11 жыл бұрын
If you payed attention to the last tutorial, Bucky teaches us how to use function prototyping, which allows us to put the int function() after int main() by first declaring it at the top of the page so it would look something like int addnumbers(int x, int y); int main() {} int addnumbers() {}
@TheGeoffDWade
@TheGeoffDWade 11 жыл бұрын
There are several. Anything that may have to be repeated at different parts of the program can just be a function call instead of writing the code several times. It also separates the code and makes it more easily edited.
@darkutopia2484
@darkutopia2484 4 жыл бұрын
it has been few days, but i've already got best tutor 🤘
@aloivnevets
@aloivnevets 13 жыл бұрын
@n3ffey you would use it if you had to reuse the new function later on in the program. Rather than having to declare all of the values again, you can quicken the process by using the function with the parameters for example int add (int x, int y, int z,){ cout
@PeterLakeTV
@PeterLakeTV 12 жыл бұрын
Hi, I'll try to help you out a bit. A parameter is just a COPY of what you pass into the function. A parameter is a variable, but it is just carrying the value of whatever is passed in, and that's all. I'm not sure if this will help you at all, but I'm sure you can continue learning C++ without any serious problems, you will understand parameters eventually. Feel free to respond with a more descriptive problem if you want further help :)
@xTxNarutoxTx
@xTxNarutoxTx 12 жыл бұрын
Because it's the beginning, it's hard to grasp later concepts as a beginner, but it doesn't really matter what language you start with.
@Nightmare0987654321
@Nightmare0987654321 12 жыл бұрын
exactly what I did. I find that it also helps to explain it again to yourself in your own words.
@Nathan477
@Nathan477 5 жыл бұрын
Thank you so much for being here man love you
@jimmysimon4400
@jimmysimon4400 9 жыл бұрын
You are amazing, Bucky!! I thought I would never understand C++.. My professor needs lesson from you on how to teach a course, LOL..
@r_sh19
@r_sh19 Жыл бұрын
where are you from, man
@mahbuburrashid2969
@mahbuburrashid2969 4 жыл бұрын
Your voice is so sweet and also the programming
@sayven1040
@sayven1040 9 жыл бұрын
You are just better than perfect BUCKY.............................Thnx for all your videos and help
@owenmn191
@owenmn191 11 жыл бұрын
Since addNumbers(int x, int y) is of the function type int, it must return something. Since it is an int, it is able to be printed out, but only if it is equal to a certain value. By putting return value; at the bottom of an int function, it gives the function a value that is able to be printed onto the screen using cout >> addNumbers(value1, value2);. In the case of addNumbers(int x, int y), return answer; could be replaced by return x + y; because answer = x + y. It's hard to explain.
@planet_jack7747
@planet_jack7747 10 жыл бұрын
you explain stuff better than the profs thanks man subbed
@jixingbian4911
@jixingbian4911 3 жыл бұрын
its 2021 now , Bucky teach better than my college professor and textbook
@footballsquad4402
@footballsquad4402 8 жыл бұрын
i think the big secret is to first learn xhtml and javascript then programming languages will be much easier to follow. have known c++ way before but after watching web development tools I have gained a big insight and c++ now seems easier to understand than before.
@nightprogrammer7474
@nightprogrammer7474 8 жыл бұрын
Love u Bukcy u are the best one , u make everything easyer and understandble
@safalsapkota4383
@safalsapkota4383 7 жыл бұрын
#include using namespace std; int main(int x, int y, int z, int total) { cout > x ; cout > y ; cout > z ; total = x + y + z ; cout
@angelnguyen6412
@angelnguyen6412 6 жыл бұрын
The below code and the code taught in this lesson produce the same answer which is 15. But is there any issues with using my code below versus yours? #include using namespace std; int addNumbers(int x, int y){ int answer = x + y; cout
@nassimback
@nassimback 6 жыл бұрын
i don't think so ,this video is ment to explain how to return something and use the return value on the main function :) But since you haven't returned anything on the function addNumbers() you could've just used void instead of int ;)
@marekvrbka
@marekvrbka 12 жыл бұрын
Im 14 years old, I know only some of LOGO. You are teaching me C++ GREATHLY
@punk6743
@punk6743 12 жыл бұрын
its great for learning. thats why teachers give you practice sheets. i can't fully understand a concept without trying it myself and then trying (and often failing) to build on the concept. i did exactly what you did too :P
@TheGeoffDWade
@TheGeoffDWade 11 жыл бұрын
When a function is called, runs through it's code and the control is passed back to the main function, the variables used in the function are lost (the memory is 'release') The only time, that I can think of, that a return statement isn't necessary is if the function is only meant for output.
@thesickbeat
@thesickbeat 13 жыл бұрын
@PorifersAnims Its a matter of practice. You pretty much always use it after declaring variables, and after using the asignment operator. Also at the return statement. You also use it when you're declaring a function. There are more stuff when you use them but you're probably not at that stage yet, like when using classes. int function(); main() { cin.get(); return 0; } int function() { int number; number = 9; return number; } hope that helps.
@mehulaggarwal7776
@mehulaggarwal7776 5 жыл бұрын
LITERALLY THE BEST INTRO 😂
@ez4wan775
@ez4wan775 4 жыл бұрын
1 video of bucky = 1 sem of degree life
@chili24137
@chili24137 11 жыл бұрын
loving that singing voice in the beginning :)
@ViliamuFanene
@ViliamuFanene 12 жыл бұрын
You're friggin awesome! Better than any so called professor I've ever had!
@PBandJava
@PBandJava 12 жыл бұрын
The whole point of parameters are to allow numbers from one function get to another. Your right in this case. You can just declare variables in another function and call it later, but later on the won't work. lets say in main it does a math equation like 2+2 and stores it in a variable called X. now lets say you have another function that needs that number stored in X to do another math equation. the whole point is so you can kind hand off variables from one function to the next if needed.
@saitama2569
@saitama2569 10 жыл бұрын
thank you so much for making these tutorials for us so i am gonna let the ads play through :)
@NarutoAOF
@NarutoAOF 12 жыл бұрын
If you wanna thank him for all the stuff he's doing, click on advertisement on the right side, I always do that, takes a sec.
@SeanRamey
@SeanRamey 13 жыл бұрын
@TheElectricEchoes In the printcrap() function, it had code in the function that printed it out to the screeen so there was no need to use cout, also, that function was void which means that it returns no value, so it couldn't be printed to the screen in the same way as the addNumbers() function. In the addNumbers() function, it returned a value and he used cout to print that returned value to the screen. Hope that made sense!
@Apa-is2jz
@Apa-is2jz 4 жыл бұрын
I can't wait till he sings the whole tutorial
@JaredfromHarbijarb
@JaredfromHarbijarb 3 жыл бұрын
I have to agree with you there. #include using namespace std; int main() int a; cout a; if (a==1) { cout
@yashu748
@yashu748 8 жыл бұрын
Helping me a lot! Thank you so much!
@amoghsonawane
@amoghsonawane 8 жыл бұрын
you made c++ fun and very easy cout
@HandBalllll
@HandBalllll 8 жыл бұрын
cout
@rayzecor
@rayzecor 8 жыл бұрын
You don't have to end the line if you're going to finish the program, that's useless code that will make it run slower.
@KoreanVaporeon
@KoreanVaporeon 8 жыл бұрын
+Rares Geo Bish please for ONE stupid endline................ How about everyone using doubles when just floats are enough?
@rayzecor
@rayzecor 8 жыл бұрын
Korean Vaporeon It's the literal same thing for the first guy, why bother using endl when that's the whole program, sometimes you really just don't have to use it, what if you also want to say 'and smart' or something else based on an input, then you want it on the same line.
@KoreanVaporeon
@KoreanVaporeon 8 жыл бұрын
Because with some compilers the final text in your console "Press a key to continue" will come on the same line as your last line of code, which is messy. I think it doesn't do it with Code::Blocks but it does with Visual Studio.
@liqiuicity
@liqiuicity 6 жыл бұрын
Thank you so much man. My C++ Professor is an absolute terrible teacher... This is making C++ so fun to learn....
@samirgunic
@samirgunic 9 жыл бұрын
5:40 Note that 4 arguments (numbers) must be passed into the function if there are 4 parameters defined for the function.
@spencerbonnell5247
@spencerbonnell5247 10 жыл бұрын
Before I continue watching these videos, I am curious if what he's teaching makes sense later, or if i'm just missing out on something, because right now I get what he's saying, but I couldn't do it on my own. Should I re watch some videos, or will I get it eventually if I keep watching?
@hyperupcall
@hyperupcall 7 жыл бұрын
It does make sense later if you follow along and write your own code now. From time to time, write a program that uses most of the concepts you've learned and even if you spend hours fixing bugs, the later lessons will be easier.
@theseangle
@theseangle 4 жыл бұрын
I know that 5 years have passed but after every episode you need to experiment and test code yourself on your PC. You will get it much easier and faster
@joeman123964
@joeman123964 4 жыл бұрын
@@theseangle yeah exactly, but the only thing is that these tutorials are extremely simplistic. they are made to teach the super basic blue prints of the concepts/topics he teaches. like when he talks about inheritance in another tutorial for example. he doesn't teach how the subclass gets the variables declared in the base class. he only teaches how the subclass can use a function from the base class without any parameters needing to pass through it, so you'd need to go watch other videos on how to do that. these videos are a great start though!
@Harlequin619
@Harlequin619 12 жыл бұрын
This is a place where "Conjunction Junction What's Your Function?" I feel would be fairly appropriate. :P
@bLUSh-cH33k-WUWu
@bLUSh-cH33k-WUWu 8 жыл бұрын
0/5 for not singing through the tutorial
@JrIcify
@JrIcify 12 жыл бұрын
I ran into a bit of snag. An easily fixable snag but I thought I would put it out here in case anybody else experienced it and doesn't know what to do. If you put a comma after your last variable in addNumbers, even though there's nothing there the computer thinks there is. As a result it will burp up an error that says "too few arguments to function int addNumbers." Be sure to not add more commas than you need.
@PeterLakeTV
@PeterLakeTV 12 жыл бұрын
If I understand you correctly, no. If you make a function that takes an integer, such as in the following example: void example(int x){ } when you call that function, you have to pass in an integer for x, however, there are ways to get around that which you will learn later on. I hope this answered your question
@wintermonie
@wintermonie 12 жыл бұрын
thnx bucky .. and now im off to my final exam !! hope to pass this course ! :)
@johnkevin0316
@johnkevin0316 10 жыл бұрын
yo bro thank you're a great teacher. helped me pass my c++ course thank you.
@goonwangdu9676
@goonwangdu9676 4 жыл бұрын
ugh ugh ugh hey guys what's up welcome to your 11 tutorial.......(My deadass thought it's different channel)
@opayne42
@opayne42 11 жыл бұрын
Most correct thing I've read all day. Bravo.
@UlltamateMaster
@UlltamateMaster 11 жыл бұрын
BEST BEGINNING AND BEST VIDEOS EVER!!!!!!!!!!!!!!!!!!!
@1415gatewayable
@1415gatewayable 12 жыл бұрын
bucky is a god sent" so much things a always wanted to learn, 3Dmax,c++,java,android, etc all for free! cant wait to become a member of "Anonymous" thanks bucky!!
@sepidehabd8081
@sepidehabd8081 5 жыл бұрын
you are awesome at teaching c++ thanks for your videos
@TheTechSpaceUS
@TheTechSpaceUS 10 жыл бұрын
So why dont i have to declare the function in the MAIN function (4:20). Does the (return answer;) declaration bypass the need for me to call the function into main?
@westleytaylor4372
@westleytaylor4372 8 жыл бұрын
Great tutorial, I've learned lots about C++ thanks to you. I like that I can do this: int getSum(int num1, int num2) { return num1 + num2; } But I want to have the amount of parameters defined when the function is called, in JavaScript, the parameters are in an Array called arguments and this is how a function in JavaScript could take any amount of parameters, is there something like that in C++. Here's how it would be done in JavaScript: var getSum = function() { var tempNum = 0; for(var i = 0;i < arguments.length;i++) { tempNum += arguments[i]; } return tempNum; }; I would want to do this because I could add 20 numbers together in one function, and call it again with a different number of parameters.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Buckys C++ Programming Tutorials - 13 - Using Variables in Classes
9:12
thenewboston
Рет қаралды 1,1 МЛН
Learn C++ With Me #20 - Functions
26:14
Tech With Tim
Рет қаралды 62 М.
C++ Programming Tutorial 67 - Pass By Reference and Pass By Value
8:08
Buckys C++ Programming Tutorials - 5 - Creating a Basic Calculator
7:29
Buckys C++ Programming Tutorials - 35 - Passing Arrays to Functions
7:59
Buckys C++ Programming Tutorials - 31 - Recursion
8:19
thenewboston
Рет қаралды 551 М.
struct Basics | C Programming Tutorial
24:44
Portfolio Courses
Рет қаралды 161 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН