What is INHERITANCE in C++? 👨‍👧‍👧

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 78

  • @BroCodez
    @BroCodez  2 роки тому +18

    #include
    class Animal{
    public:
    bool alive = true;

    void eat(){
    std::cout

    • @welcomevideos6692
      @welcomevideos6692 6 місяців тому

      Please complete your ReactJs tutorial..
      It will be really helpful

    • @Hhz-jx7lp
      @Hhz-jx7lp 6 місяців тому

      Next??? Go lang course

    • @Anonymous-st1vk
      @Anonymous-st1vk 3 місяці тому

      Thank god its the cat dog code

  • @justpurple2779
    @justpurple2779 8 місяців тому +73

    Congrats on making it this far soldier

  • @normalguy6884
    @normalguy6884 4 місяці тому +20

    We've reached it guys, Now there's even a greater path to follow. The path of development

    • @rezza8311
      @rezza8311 4 місяці тому +3

      just finished this course as well, im gonna try to learn how to make games and physics engines now

    • @normalguy6884
      @normalguy6884 4 місяці тому

      @@rezza8311 Wow, actually that's exactly what I've been doing for some time now

  • @kenji4166_
    @kenji4166_ Рік тому +21

    I have completed your C++ tutorial course. I learn a lot basic and skills in your channel. You are a great teacher. Thanks a lot...

  • @JMBooy
    @JMBooy Рік тому +9

    Thanks for this great course

  • @alejandrobh797
    @alejandrobh797 2 місяці тому +1

    Finally reached the end of it. Thank you for this playlist, i have now learned the basics of C++.!

  • @Anonymous-st1vk
    @Anonymous-st1vk 3 місяці тому +3

    Great Stuff Bro, thanks for all the knowledge. I'll be going into DSA and competitve coding from here and learn further. Best of luck to all who reached here after me. I hope you achieve what you are working so hard towards.

  • @OllyCybSec
    @OllyCybSec Рік тому +2

    Thank you Sir! Brilliant lesson plans and teaching.

  • @shervin9561
    @shervin9561 11 місяців тому +4

    Please keep this legend playlist

  • @johnyackanech9548
    @johnyackanech9548 2 місяці тому

    Love your channel. The concise intro / outro and your efficient speech are appreciated. Thanks for making these videos!!! You’re a legend : )

  • @LSDStudiosParahill
    @LSDStudiosParahill 3 місяці тому +2

    Thanks for the awesome tutorials Bro

  • @shadmankhan1969
    @shadmankhan1969 2 роки тому +27

    Made it gang

  • @anjxlxo
    @anjxlxo Місяць тому

    hi bro code, i just finished all of these videos in this series and I wanna say - a big thankyou. brilliant vids, crisp voice and bitesize organised vids. thankyou making this free content for everyone to learn

  • @syeid_mot
    @syeid_mot 8 місяців тому +2

    شكراً على الكورس ❤❤

  • @ghotifish1838
    @ghotifish1838 6 місяців тому +7

    was this video rereleased or something?? It says it was released an hour ago but there are already comments from a year back???

    • @QuiescentEntropy
      @QuiescentEntropy 9 днів тому

      right? im sitting here like "how is his comment from 2 years ago if it was released 6 months ago"

  • @prantoislam5529
    @prantoislam5529 2 місяці тому +1

    We made it guys, now comes the hard part :)

  • @Adarssh-pw9cj
    @Adarssh-pw9cj 6 місяців тому +1

    Thank you for making this amazing course.

  • @dj_aljnmusic
    @dj_aljnmusic 2 місяці тому

    We made it gang! Thank you bro! Now unto the next path! Lets make games!

  • @Dazza_Doo
    @Dazza_Doo 2 роки тому +1

    The Ctor is acting like a Class Method with no need to have a Return Type.
    I think that is really powerful, when the Ctor is called with a New Up'd object, it carries the completed calculations back to the new-up object - 🤯🤯🥳
    C++ you've done it again!

  • @yellow7955
    @yellow7955 2 роки тому +2

    made it this far and ngl your videos are really helpful, please keep up the good work!

  • @willlagergaming8089
    @willlagergaming8089 11 місяців тому +1

    i started watching this series on december 28th 2023. I finished this series on January 14th 2024. why it take so long is 50% life get in the way (especially school) and 50% procastination. and i think vector and using function from other file is missing here but i can just learn those myself i guess. thank you for this series it help start my programming career (literally my first programming language)

  • @manipurihunabopa
    @manipurihunabopa Рік тому +8

    My dear Bro,
    I am delighted to claim that i have today completed your 60 videos long tutorial course on C++.
    I also have a suggestion for you if you don't mind. Why don't you add a certification to your courses? I mean, your contents are great. Learners like me wants to get certified. Please take this request into consideration

  • @shervin9561
    @shervin9561 11 місяців тому +3

    Thanks a lot

  • @VanNguyen-mn3ou
    @VanNguyen-mn3ou 6 місяців тому +1

    Thank you so much for your works

  • @vutuan4308
    @vutuan4308 2 роки тому

    your videos are really helpful for me, thanks

  • @myAim_f....
    @myAim_f.... 3 місяці тому +2

    can you please upload more videos

  • @leomabuku1904
    @leomabuku1904 9 місяців тому +1

    Ultimate bro 💪🏽
    Thanks a tonne your videos have been helpful
    Now wishing you made videos related to all courses I'm taking ie my introduction to computer engineering course, logism ain't quite making sense to me

  • @aliemrearar4836
    @aliemrearar4836 2 місяці тому +1

    Your son did it mom

  • @AhmadRiazNaiyar
    @AhmadRiazNaiyar 4 місяці тому +1

    Hey! All of a sudden you started using -> instead of =, why is that?

  • @user-dy1vf7lu3i
    @user-dy1vf7lu3i Рік тому +2

    So it is nesting classes or so?

  • @hizoto
    @hizoto Рік тому +5

    what to do from here on?

    • @worstDevYT
      @worstDevYT 6 місяців тому

      Just choose a field that you are interested in or curious about.

  • @ORITSU_M...
    @ORITSU_M... 6 місяців тому +1

    Gui programs when ???

  • @hupmitom5509
    @hupmitom5509 Рік тому

    Thanks a lot. Keep it up!

  • @Eman-ft5wu
    @Eman-ft5wu 6 місяців тому +1

    can anyone help me solve this for my upcoming exam this is just a practice.. PROGRAM FOR A BUS DRIVER
    Make a C program that will keep looping until 0 is entered for the number of passengers. Assume individual fare is 1.25. The program should
    1. Ask for:
    (a) the number of passengers, and
    (b) amount paid (by passenger for fare)
    2. Compute the total fare and display it
    3. Check if the amount paid by the passenger is enough
    (a) If enough, display the change
    (b) if not enough, display the message "Money paid is not enough."
    e.g. (underline means entered from the keyboard)
    Enter no. of passengers: 2
    Enter amount paid: 4
    Total fare is 2.50
    Change is 1.50
    Enter no. of passengers: Enter amount paid: 4 Total fare is 4.50 Money is not enough
    Enter no. of passengers: 0 Bye!

    • @jotunn8075
      @jotunn8075 6 місяців тому

      Hi, i'm an italian beginner myself, can i help you with this? (Also: do you have an imminent dead line for this?)
      I'm sorry if my english isn't that great, i'm here to improve xD

    • @Eman-ft5wu
      @Eman-ft5wu 6 місяців тому

      @@jotunn8075 sure its on thursday (tom)

  • @utsavkundu1924
    @utsavkundu1924 6 місяців тому

    Bro is finally back!!

  • @momomadi2
    @momomadi2 2 роки тому

    thanks - youre good at this

  • @kristijanlazarev
    @kristijanlazarev 9 місяців тому

    golden thnaks

  • @user-de8d
    @user-de8d 3 місяці тому

    Hey Bro, If possible, could you please include a tutorial on C++ Standard Template Library (STL) too? I think it would really help a lot of us out.

  • @ĐàmMinh-x4c
    @ĐàmMinh-x4c Рік тому

    nice to meet u guys here, pro coders.

  • @herodai2615
    @herodai2615 6 місяців тому

    Can you make a video on how to use html and css in frontend web development

  • @ashkelly1565
    @ashkelly1565 6 місяців тому

    What would you advise learning after this?

  • @saseeka-weerasinghe
    @saseeka-weerasinghe 6 місяців тому

    Thanks for everything's ❤❤

  • @Vincent45678
    @Vincent45678 Рік тому

    I did it just now 💫

  • @rvmble
    @rvmble Місяць тому

    what if you have 2 or more parent classes 🧐🧐

  • @adhammohamedrefaat6402
    @adhammohamedrefaat6402 2 роки тому

    when do you start data structure?

  • @yukonakamura5364
    @yukonakamura5364 Рік тому

    thank you so much!

  • @sutofana
    @sutofana 4 місяці тому

    love you❤

  • @furantsu1
    @furantsu1 Рік тому

    Ty bro!

  • @Dr69420
    @Dr69420 4 місяці тому

    now what? i finished the course. please give me more

  • @MRFACT-n6t
    @MRFACT-n6t 3 місяці тому

    sir bro code do you like cat or dog

  • @user-dy1vf7lu3i
    @user-dy1vf7lu3i Рік тому +1

    What is the point of “this ->”??

    • @masterali2837
      @masterali2837 Рік тому

      saying you have a vatriable named x and an variable in this class named x to avoid confusion we use this (use the variable from this class)

    • @Anonymous-st1vk
      @Anonymous-st1vk 3 місяці тому

      the variable it points to, refers to the class's local variable. If no 'this', then the variable from function arguements is taken, well you only need it if funtion arguement and attribute of the class have same name.

  • @Dazza_Doo
    @Dazza_Doo 2 роки тому

    When I need a refresher - I always recommend the #Bro_Code 😁

    • @Lameless
      @Lameless 2 роки тому

      This makes me think I don't need this for game development like unreal engine. Is this necessary?

    • @FlorrioEggGaming
      @FlorrioEggGaming Рік тому

      @@Lameless it isn't, you need C# for that

    • @PSIwolf39
      @PSIwolf39 Рік тому

      @@FlorrioEggGaming
      So you mean to tell me I just spent all my time learning the wrong coding language?
      Oh well, it was fun to learn it at least.

    • @crogat2298
      @crogat2298 Рік тому +2

      @@PSIwolf39 They are incorrect. Unity is the one that uses c# while unreal uses c++, however both use c++ to some extent, so c++ would be useful regardless

    • @PSIwolf39
      @PSIwolf39 Рік тому

      @@crogat2298 Ok, thanks. I'm mostly learning coding as a fun pass-time and not for actually trying to make games but still: thank you.

  • @CầnbiếtKo-k5i
    @CầnbiếtKo-k5i Рік тому

    vector đâu??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

  • @lazyken6468
    @lazyken6468 6 місяців тому

    23 hours ago? I hope this is part of the long video

  • @adhammohamedrefaat6402
    @adhammohamedrefaat6402 2 роки тому

    data structure please 😢😢😢😢

    • @Dazza_Doo
      @Dazza_Doo 2 роки тому +1

      You mean a Struct ?

  • @Heisenberg-pr1hk
    @Heisenberg-pr1hk Рік тому

    So thats it ? There is no more thing that we have to learn

  • @danaildoganov
    @danaildoganov 8 місяців тому +1

    #include
    class Classroom{
    public:
    bool student = true;
    std::string className = "Second Grade";
    };
    class BoyStudent : public Classroom{
    public:
    void gender(){
    std::cout

  • @heavyymetal
    @heavyymetal Рік тому +1

    #include
    using namespace std;
    class Food {
    public:
    void eat(){
    cout