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

Buckys C++ Programming Tutorials – 58 – function Templates
by
Tags:
Comments
40 responses to “Buckys C++ Programming Tutorials – 58 – function Templates”
-
you are so funny! <3
-
6:05 The moment when you are teaching someone a lesson, but you realized the lesson you're trying to tell is actually upside down.
-
dude you have advanced entertainment skills, Go ranked game pls ;D .
-
omg my teacher could not explain this to me as he did. Keep up the good work
-
WHAT HOW DID YOU WRITE EVERYTHING WITH YOUR KEYBOARD UPSIDE DOWN
-
"See that's what you guys get when you buy a new keyboard and all the keys are all over the place, I'm sorry this is like a keyboard… oh wait a minute! Oh it was upside down. ok it's fine now"
-
Is this the same a void * functionName (Generic Pointer)
-
I prefer to type it as "template <typename Ashley>" as I may get confused if I type 'class' 🙂
-
thank you!! love your simple explanations!
-
pretty cool huh?
-
Imagine how much time would be saved if most professors/TAs are anywhere close to giving this good of an intro, then most of our time would be spend playing around with the codes, instead of beating ourselves up trying to understand what the fuck is the purpose of a template.
-
I have one doubt, what if I assign Bucky as int ,just as you did;and then I call another function "multiplycrap" working with double.
I am unable to do so, compiler argues bucky was not declared in this scope for second call ??
plz anyone reply.. -
Why not use templates all of the time?
-
Exactly what I needed thanks!
-
ty bucky
-
type-aa-dataaaa!@
-
You use "You know" every other sentence.
Holy crap.
-
1:51 So let's go ahead and build and run this and make sure we didn't get any errors and we get 50… hahahahahaha
-
wait did u actually go take a keyboarding class?
-
UGH! Stop throwing .
-
3:12 Yeah, and that way is by using the type, "auto".
-
bucky is the coolest teacher ever
-
Hoe does the compiler know how much memory to allocate when using template data types?
-
Thank you Bucky, this is so useful. I was frustrating about this topic and when I google it, i just couldnt find a source that explains well. I own you one.
-
Bucky is basically my savior
-
works beautifeel ^_^
-
"Oh it was upside down"
Facepalms REALLY BUCKY? REALLY? Lmao
-
shouldn't i get 'c' as output if i pass char 'a' and 'b' as parameter? 😛 no seriously. why not char?
-
Thanks Bucky! I know this stuff takes time, so it's cool that you're doing this. Just a few things: 1. Bill Gates doesn't run Microsoft any more. 2. The compiler instantiates a new copy of addCrap for each time it's called with a different argument type. There is no polymorphism going on – templates are purely a compile-time facility.3. You can indeed add chars and strings together – anything that supplies an operator+ and a copy constructor will as addCrap arguments or any built-in type that supports addition will work.
-
what compiler is being used? I'm new to C++ and don't know what compilers are most accessible to new coders
-
6:11 nice
-
wow.. very good help
-
haha so good xD
-
Thanks for the tuto but I got a question for anyone reading this, if the template function gives us such an advantage of not having to define a function type, why are functions still relevant then ?
-
You could even use the add() function and pass in objects that use operator overloading.
-
Excellent as always..
-
Liked on 43 second for addCrap :DDD
-
wow unbelievable!
-
Did anyone hear that weird breathing around the part where he said the keyboard was turned around?
-
Great tutorials! but it would be great if this video is followed by video 30 (function overload).
Leave a Reply