After this video, I went back and took a good look at pointers. I don't think I could have understood it without watching your tutorials. Thanks a lot!! :D
This videos b****ks because my mate ...he did ninjitsu and he never learnt nothing 'bout poly -whatever morphism, I suggest you keep on watching 'PowerRangers' and this time pay attention.
PowerRangers there are 5 types
Red · Yellow · Blue · Pink · Black · Green · White
@kamykerDDOpl Java threads are different than C++ threads. It wouldn't have mattered for me any ways if he did though. Each OS has a different API. I'm running linux, he's running windows.
What I did was make the attackPower var protected and then just set them in my Ninja and Monster's class constructor without using a public function. That means every Ninja and every Monster object is always going to have the same attackPower without me setting it. I don't really know if you'd want to set each monsters' attackPower differently when making a game.
Comment removed
eliscmj 1 week ago
@jackkadez you can't access the inherited members with that.
AlecGirman 2 weeks ago
Am I right
AlecGirman 2 weeks ago
I get it, the pointer is used for when you need to access the inherited members from the subclass in another class or the main function
AlecGirman 2 weeks ago
I really love the way you tell it man..no doubt!!
curtislbyrd 4 weeks ago
Uh... I'm pretty sure ninjas are more powerful than monsters.
charmanderstail 1 month ago in playlist Buckys C++ Programming Tutorials Playlist
is the polymorphism in c++ has anything to do with polymorphism in algebra ?
Mrjohnchannel 2 months ago
Why do you need the pointers? It is valid just to do n.setAttackPower(26);
jackkatez 2 months ago
can you make a base class array like in java?
Aaronster8 2 months ago
Thanks bucky You r Rock dude !!!
Sudasan51 2 months ago
What is the importance of Polymorphism? :-/
rainbowcrak 3 months ago in playlist c++
@rainbowcrak I Made A Simple 2D minecraft in java, and trust me, polymorphism is so important.
Aaronster8 2 months ago
"Not a ninja cop. A ninja......chop"
AHSUEHASUEUHASEHUAUHSE
guilhermesalome 4 months ago in playlist C++
ninja...CHOP :D
KaktusFilms 4 months ago
Why you make the class in the same file, :P.
trueredexe 4 months ago
@trueredexe To keep it all easy to follow.
TheSandvichTrials 2 months ago in playlist Buckys C++ Programming Tutorials Playlist
great tutorial bucky !!! love it ...
mastermax7777 4 months ago
hahaha, "Public Enemy"
Lt0Th3M 5 months ago
You have got some wild imagination bucky!
I love your tutorials!!! :D
kashmutt 6 months ago
After this video, I went back and took a good look at pointers. I don't think I could have understood it without watching your tutorials. Thanks a lot!! :D
kashmutt 6 months ago
Why not do "n.setAttackPower(29); m.setAttackPower(99);"?
zunpre 6 months ago
1:44
LuxrayIsEpic 7 months ago
1:69
LuxrayIsEpic 7 months ago
what if i wanted NINJA MONSTERS!?
tell me what to do then mr smarty pants.
MrMitmit123 7 months ago
09:04 thumbs up if you have noticed this mistake before
JakobRobert00 7 months ago in playlist Buckys C++ Programming Tutorials
This videos b****ks because my mate ...he did ninjitsu and he never learnt nothing 'bout poly -whatever morphism, I suggest you keep on watching 'PowerRangers' and this time pay attention.
PowerRangers there are 5 types
Red · Yellow · Blue · Pink · Black · Green · White
there is NO 'C++' Ranger , and thats true.
oliverking90001 8 months ago
Polymorphism hasn't to do with this. It's about regenerating...Come on Bucky. Teach us the right kind of stuff.
MrVirtualCoder 9 months ago
Comment removed
AJFreeway 9 months ago
thank you
hojjat2500 9 months ago
You should really record in HD.
rockYhre 9 months ago
@rockYhre I think recording simple text in HD and long uploading on yt have no sense. But in Unreal DK tuts he starts this :).
kamykerDDOpl 9 months ago
This has been flagged as spam show
@kamykerDDOpl I see, that's good. :)
rockYhre 9 months ago
Can you go over threads?
mike3214545 9 months ago
@mike3214545 Hmm..... Maybe Bucky starts learn threads in something like C++ Game Dev. Just look on Java tuts and there is how he do it.
kamykerDDOpl 9 months ago
@kamykerDDOpl Java threads are different than C++ threads. It wouldn't have mattered for me any ways if he did though. Each OS has a different API. I'm running linux, he's running windows.
mike3214545 9 months ago
What I did was make the attackPower var protected and then just set them in my Ninja and Monster's class constructor without using a public function. That means every Ninja and every Monster object is always going to have the same attackPower without me setting it. I don't really know if you'd want to set each monsters' attackPower differently when making a game.
tuntuni1000 9 months ago
Omg, i needed to learn this. THANK YOU : )
Love yo ass : )
lDeadLoss 9 months ago
Not Ninja cop, Ninja CHOP
mangopearandapples 9 months ago
sheesh 55 videos to get to polymorphism? Must be a detailed series :)
Ormaaj 9 months ago
using protected is not recommended, since it suggest one is not really understanding the OO principle. ;)
(maybe make enemy an ABC? :)
Keep it up! :D
XRaYNL 9 months ago
you could just :
Ninja n;
n.attackPower(26);
no need of the pointer.
Cezarijus 9 months ago 23
@Cezarijus I think he wanna show how to sort bunch of things.
kamykerDDOpl 9 months ago
@Cezarijus Thats what i thought... thanks
Kaischoosi 8 months ago
@Cezarijus He was showing you important details about polymorphism which allow you to make a base class Pointer which point to inherited.
Shegg77 2 months ago in playlist Buckys C++ Programming Tutorials Playlist 2
@Cezarijus what if the function was private?
Kapetozzo 1 week ago in playlist C++ Programming Tutorials Playlist
@Kapetozzo
It should have been private, with a protected setter & getter accessor.
Trancecend 1 week ago in playlist C++ Programming Tutorials Playlist
Bucky you should make a C++ game development tutorial :D! using a library like SDL or Allegro
gaztheace 9 months ago
Thanks, Bucky.
izephyrmor 9 months ago
Feeling some C++ Game Development videos.
SCHUCH512 9 months ago 57
@SCHUCH512 probably it was just a bad burrito... :(
martmelee 1 month ago in playlist Buckys C++ Programming Tutorials Playlist
first!
ocrackaplease 9 months ago
that word induced mindfuck
Wiikiller102 9 months ago
nice!
mattstevenson12 9 months ago
inb4first
Tyronis3 9 months ago