Pure Virtual Function In C++

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

КОМЕНТАРІ • 89

  • @pinakipb2
    @pinakipb2 3 роки тому +15

    Your CPP series is just a lifesaver!

  • @mdatifbinkarim3877
    @mdatifbinkarim3877 3 роки тому +6

    One of the best explanations I have found here regarding intimidating C++. Learned a lot from your content. My best wishes to you.

    • @CppNuts
      @CppNuts  3 роки тому +1

      Thanks dude..

  • @keerthanraobj2149
    @keerthanraobj2149 3 роки тому +2

    Even a pure virtual function can have definition, I was not knowing this. Thank you sir. Your videos are just amazing. Keep on posting videos related to C++ Sir.

    • @CppNuts
      @CppNuts  3 роки тому

      Good to know this.

  • @gaganag9991
    @gaganag9991 3 роки тому +3

    I didn't know that we can define pure virtual function in base class...Thank you

    • @CppNuts
      @CppNuts  3 роки тому

      Glad it was helpful!

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

    Amazing…I didn’t know we can give body for pure virtual fn…your tutorials are amazing n there is always something new to learn from your videos even after knowing the concepts🙏🏻

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

    More likes and subscriber you should have... very clear and crisp explanation at right pace...

  • @ganeshjoshi1619
    @ganeshjoshi1619 3 роки тому +1

    I didn't knew it..
    Thank you so much for this channel and knowledge sharing.
    More power to you ✌

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

    Most underrated channel brother for the kind of explanation you give

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

      Thanks brother

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

    i didn't knew body of pure virtual function. thanks

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

      Glad it helped..

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

    9:43 you absolutely deserves "like" for this and yes you got it!

  • @ChandraShekhar-by3cd
    @ChandraShekhar-by3cd 3 роки тому +3

    Thanks a lot for the new Year video. Its been quite long to see you man, How are you doing. HNY 2021. Learnt a lot form your video series. Please keep posting videos on System design, OOD Design as well as these are quite a market boom topic for the FANG! .Thanks

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

    why u have not uploaded more videos on virtual function

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

      Actually i had prepared to shoot and then somehow i lost my notes, then this is postponed, i will plan quickly, as so many people are demanding this.

  • @kittuthegreat28
    @kittuthegreat28 11 місяців тому

    any video you have for vtble and vptr ?

  • @bittupandey6645
    @bittupandey6645 3 роки тому

    gyan ka bhandar you are best !!

    • @CppNuts
      @CppNuts  3 роки тому +1

      My pleasure.

  • @pallavichaudhary6636
    @pallavichaudhary6636 11 місяців тому

    A pure virtual function can have definition, I was not knowing this. Thank you sir.

  • @bhupeshpattanaik7150
    @bhupeshpattanaik7150 3 роки тому +4

    After a long time 😁

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

    i'll definitely support you on patreon !!

  • @jayantsharma2669
    @jayantsharma2669 3 роки тому

    Good to see you're back 😊

    • @CppNuts
      @CppNuts  3 роки тому +1

      Thanks man..

  • @sandeepmaurya1694
    @sandeepmaurya1694 3 роки тому

    much better then code with harry c++ tutorial vdo
    thnk you sir

  • @bhupeshpattanaik7150
    @bhupeshpattanaik7150 3 роки тому +1

    If we define the definition to pure virtual function, it means that definition behaves as default and changed in child classes if required ??

    • @CppNuts
      @CppNuts  3 роки тому +3

      But default means it should be able to be called if Derived class is not providing that definition but that's not the case here. Actually Derived class have to provide the definition otherwise we can't create the instance of Derived class. Hope you got it!!
      Let me know if you need more help..

  • @naveen307_4
    @naveen307_4 3 роки тому

    Dear sir, concept of virtual functions holds same for virtual class also like vptr and vtable? Could you plz give us idea on virtual base class internal working like diamond problem?

  • @yashsaxena4634
    @yashsaxena4634 3 роки тому +1

    Can we have a series on Socket Programming ...?

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

    Great information

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

    But vptr n virtual table concepts are not covered in this series

  • @nitinjain3866
    @nitinjain3866 3 роки тому

    I am not able to find your video on virtual table and virtual pointer

    • @CppNuts
      @CppNuts  3 роки тому

      It's because i have not given that yet.
      will push in few days.
      i got my setup back.(back to Banglore)

    • @nitinjain3866
      @nitinjain3866 3 роки тому

      @@CppNuts Thanks, I will wait for the same :-)

  • @abhishekrai617
    @abhishekrai617 3 роки тому

    Good One, Sir Why Reference is created of abstract Class while reference is just alias name ?

  • @mr.habibivlogs9887
    @mr.habibivlogs9887 3 роки тому

    How did you call Animal::move in derived class which is not static function.

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

      Because animal class is inherited bro....

  • @rkrahul2291
    @rkrahul2291 3 роки тому

    Thanks, Bro for Knowing us new things

  • @vaibhav31
    @vaibhav31 3 роки тому

    @CppNuts what do you prefer Joining your Pro on youtube or donating on your patreon??? .......... I will do whichever You want...

    • @CppNuts
      @CppNuts  3 роки тому

      Hi @Vaibhav I would prefer patreon as its processing charges are less.
      Thanks for considering..

  • @sagarlingayat3999
    @sagarlingayat3999 3 роки тому +1

    U r awsm really 🥰

  • @LeelaseshuKumar
    @LeelaseshuKumar 3 роки тому

    Hey Rupesh , after long time . What happened any problems there. Thanks for uploading.

    • @CppNuts
      @CppNuts  3 роки тому

      No issue, I am at hometown so delayed.
      Thanks for asking.

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

    Thanks brother

  • @ParvezKhanPK
    @ParvezKhanPK 3 роки тому

    After a long time. Welcome back.
    By the way your voice changed a bit heavy tone.

    • @CppNuts
      @CppNuts  3 роки тому

      Thanks man..
      Sound would be an issue, i am not using my own setup, it's my brother's.

    • @ParvezKhanPK
      @ParvezKhanPK 3 роки тому

      @@CppNuts to answer your question: yes, I always thought that pure virtual function doesn't have a body lol. I was wrong.

  • @curious_haldar
    @curious_haldar 3 роки тому

    Nicely explained!

    • @CppNuts
      @CppNuts  3 роки тому

      Glad it was helpful!

  • @kanikasangwan8030
    @kanikasangwan8030 3 роки тому +1

    The animls who eat( veg) only = herbivores,
    Who eat (non veg )= carnivores,
    Who eat both =omnivores.

  • @AnilKumar-xh6hw
    @AnilKumar-xh6hw 3 роки тому

    I loved this stuff...

  • @alluruvarma8764
    @alluruvarma8764 3 роки тому

    Can you do a video on virtual table and vptrs

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

    Sir please make a video on vptr and vtable

  • @GARV_K_JAIN
    @GARV_K_JAIN 3 роки тому

    i didn't knew that.. thankss :)

    • @CppNuts
      @CppNuts  3 роки тому

      Happy to help!

  • @rakeshvarma9424
    @rakeshvarma9424 11 місяців тому

    This was new for me

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

    you said in the previous video that you are going to show how compiler changes the code when you use virtual keyword and what is virtual pointer, virtual table etc. But you did not :(

  • @himanshurelhan9304
    @himanshurelhan9304 3 роки тому +1

    bhai content 1 number hota h tumhara bus advertisment thodi kam kar lo focus kharab ho jata h

    • @CppNuts
      @CppNuts  3 роки тому

      Ok..
      I will take care next time.
      Thanks man..

  • @ganeshjoshi1619
    @ganeshjoshi1619 3 роки тому

    Hey Rupesh,
    Thanks for the video.
    Can you please make one video covering vtable and vptr topic only.
    Thanks
    More power to you ✌

  • @AwesomeotasticGaming
    @AwesomeotasticGaming 3 роки тому +1

    that snake is a snack (✿◠‿◠)

  • @ankitahlawat4812
    @ankitahlawat4812 3 роки тому +1

    😳I was not knowing that

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

    Is no body gonna mention 'Snack'?

  • @nandigamshanmukanand1410
    @nandigamshanmukanand1410 3 роки тому

    I don't know that pure virtual function body can be created

  • @mohammadhosein6847
    @mohammadhosein6847 3 роки тому

    that's how interfaces work in C++. I'm a java guy

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

    I didn't know that

  • @shubhamdangi661
    @shubhamdangi661 3 роки тому +1

    🔥

  • @karthickrajendran7057
    @karthickrajendran7057 3 роки тому +1

    I knew

  • @akhtrabadsaraikivlog5877
    @akhtrabadsaraikivlog5877 3 роки тому

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

    its snake not snack

  • @sabbulingineni
    @sabbulingineni 3 роки тому

    don't know thanks

    • @CppNuts
      @CppNuts  3 роки тому

      Welcome..

    • @sabbulingineni
      @sabbulingineni 3 роки тому

      @@CppNuts can we see back tracking problems