Introduction to Inheritance in C++ Programming with example | OOPs with C++

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025
  • Support Simple Snippets by Donations -
    Google Pay UPI ID - tanmaysakpal11@okicici
    PayPal - paypal.me/tanmaysakpal11
    --------------------------------------------------------------------------------------------- In this video tutorial we will study and understand the concept of Inheritance in C++. We will see why wee need inheritance in c++, how to perform inheritance programming.
    We will also go through the different types of inheritance in c++ which are as follows -
    Single level inheritance
    Multilevel inheritance
    Multiple Inheritance
    Hierarchial Inheritance
    Hybrid Inheritance.
    We wil also see how inheritance can be performed in different modes, tha is public, private and protected and their differences.
    Lastly we will see a basic inheritance in c++ program example code to see how it works in practicality.
    Inheritance allows us to define a class in terms of (from another) another class.
    Provides REUSABILITY and MAINTAINABLITY of CODE.
    The idea of inheritance implements the IS-A relationship. For example, mammal IS-A animal, dog IS-A mammal hence dog IS-A animal as well and so on.
    The class from which the new class inherits properties (data members and member functions) is called BASE CLASS and the new created class is called DERIVED CLASS.
    Syntax - class derived-class: access-specifier base-class
    {
    // data members and member functions of derived class
    }
    Inheritance in C++ Theory Article - simplesnippets...
    Simple Snippets Official Website -
    simplesnippets...
    Simple Snippets on Facebook-
    / simplesnippets
    Simple Snippets on Instagram-
    / simplesnippets
    Simple Snippets email ID-
    simplesnippetsinfo@gmail.com
    For Classroom Coaching in Mumbai for Programming & other IT?CS Subjects Checkout UpSkill Infotech - upskill.tech/
    UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.
    Contact via email /call / FB /Whatsapp for more info
    email - upskillinfotech@gmail.com
    We also Provide Certification courses like -
    Android Development
    Web Development
    Java Developer Course
    .NET Developer Course
    Check us out on Social media platforms like Facebook, Instagram, Google etc
    Facebook page - / upskillinfotech
    Insta page - / upskill_infotech
    Google Maps - goo.gl/maps/vj...

ความคิดเห็น • 217

  • @SimpleSnippets
    @SimpleSnippets  5 ปีที่แล้ว +40

    Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

    • @varunkumar-wk3yp
      @varunkumar-wk3yp 5 ปีที่แล้ว +2

      Just subscribed...you r vids are really awesome

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      @@varunkumar-wk3yp thank you so much brother 🤟 welcome to the Simple Snippets family. I would request you to please share the videos with your friends too 🤟😊

    • @varunkumar-wk3yp
      @varunkumar-wk3yp 5 ปีที่แล้ว +1

      @@SimpleSnippets will do for you brother ..you are a life saver for my friends tooo 🤗

    • @priyankatile1767
      @priyankatile1767 4 ปีที่แล้ว +1

      Hi tanmay ..please reply
      When derived class object is going to be created how many bytes of memory will be allocated?? When we create a derived class object ,then base class subobject will also be created?? You said private data members are not accessible if we publically inheriting but my teacher used this..
      Salesperson( short h,short r,short s): Employee( h,r)
      Where above is constructor..h- hour & r-rate is private member of base class i.e.employee
      And only sales is private members of derived class i.e.salesperson
      Plz help🙏

    • @killerprogramming8998
      @killerprogramming8998 4 ปีที่แล้ว

      @@SimpleSnippets sure

  • @KRISHNAKUMAR-rk7bv
    @KRISHNAKUMAR-rk7bv 3 ปีที่แล้ว +23

    The way you have taught inheritance is like putting butter on the rice....So smooth...Thank you very much...The best C++ tutorials till date...

  • @architgarg629
    @architgarg629 6 ปีที่แล้ว +10

    Only I can say your Lectures are the best available on the Internet. Thanks, Bro

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Hey Archit, I'm really humbled by this comment on yours bro 😊 thank you so much for such wonderful feedback ✌️ I would request you to please share the video with your friends and contacts 😊 that'll be the best help and support 😊

    • @architgarg629
      @architgarg629 6 ปีที่แล้ว +1

      @@SimpleSnippets Yeah sure bro

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      ✌️😊

  • @spyrex3988
    @spyrex3988 4 ปีที่แล้ว +2

    dood i swear the way you explain and give examples is truly remarkable this is better than most udemy stuff THANK YOU SO FUKIN MUCH

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว +2

      Most welcome Naved 🤟 loved this comment & it definitely made my day bro. I'm glad you're loving my teaching style & gaining knowledge from it 😇
      Please do share the videos with your friends too. That's the biggest help and support 🙌

  • @anchalpandey2787
    @anchalpandey2787 4 ปีที่แล้ว +16

    Best lecture series 💯💯

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว +2

      Thats really great to know buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

    • @arun817
      @arun817 3 ปีที่แล้ว

      👍👍👍

  • @philemonanand
    @philemonanand 6 ปีที่แล้ว +7

    I love your voice your English accent bro..ur speed ur way of teaching...ur skills in programming, ur conceptual grip, i just luv everything about ur videos

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +4

      Wow buddy I'm really happy and grateful to such a wonderful and positive compliment ✌️😇 one request, please share the videos and channel with your friends and contacts too as that will be the best help and support for our channel ✌️
      Once again, thank you very much and keep up the support 😇✌️

    • @philemonanand
      @philemonanand 6 ปีที่แล้ว +1

      sure bro

    • @archanaharumugasamy8586
      @archanaharumugasamy8586 6 ปีที่แล้ว +1

      @@SimpleSnippets I'll share this video with my friends because the way you explain you're rocking I Think my mam need to learn lot from you she lacking in teaching skills I'm really thank you .You are my saviour :)

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Thank you so much buddy 😊 this means a lot to me. Thank you for your sharing and support ✌️

    • @carlossfiesta
      @carlossfiesta 5 ปีที่แล้ว +1

      Aww that's so cute 😍😍😍💖

  • @lingueex8705
    @lingueex8705 5 ปีที่แล้ว +3

    Best video tutorial for C++ I have ever seen on youtube!!!

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Thank you so much. Please do share the videos with your friends too 😇

  • @cactusdoodle8619
    @cactusdoodle8619 5 ปีที่แล้ว +3

    really excellent tutorial. everything i have been learning has skipped over explaining how the private inheritance of the base class will still give the first derived subclass access to protected members. thankyou for making a point to illustrate how inheritance affects the child classes beyond the first subclass

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +1

      Thank you so much buddy 😊 I'm really glad to hear this wonderful feedback. I would request you to please share the video with your friends too ✌️

  • @phanishwarlal4838
    @phanishwarlal4838 4 ปีที่แล้ว +5

    Thanks bro, i understood the concept more easily than the cherno videos! Thanks a lot!!

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว +1

      Glad you liked it! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

  • @Rockstard4
    @Rockstard4 6 ปีที่แล้ว +3

    You have cleared all my concepts about inheritance ...
    It is a fantastic video.....
    I understood every word that you have said...

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you so much Ratul for such a wonderful feedback. Glad to hear this from you and please do share the video with your friends. That'll be the best help and support for our channel 😊

    • @Rockstard4
      @Rockstard4 6 ปีที่แล้ว +1

      Definitely bro

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thanks buddy!! Keep up the support 😊

  • @anirudhajoshi2719
    @anirudhajoshi2719 5 ปีที่แล้ว +6

    My man wow the way you teach is phenomenal, loved it.

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Thank you so much bro ♥️ your comment made my day bro 😊✌️ always happy to help 😊

  • @TheHotdogstand
    @TheHotdogstand 3 ปีที่แล้ว +4

    you explained it soooo much better than my professor lol. Thanks a bunch!!!

  • @adityaajith3359
    @adityaajith3359 5 ปีที่แล้ว +41

    Bruh.. you saved me🔥🔥🔥

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +2

      Haha most welcome bro ✌️🤟❤️
      I would request you to please share the video with your friends and save some more lives 😉🤟

    • @adityaajith3359
      @adityaajith3359 5 ปีที่แล้ว +1

      @@SimpleSnippets sure💞

  • @srilekha5652
    @srilekha5652 4 ปีที่แล้ว +1

    Tqqq bro🤝 I undestand the concept more Easy, your voice excellent N very cleary explain the concept. U R the dynamic lecturar of the internet.

  • @visweshsuresh6809
    @visweshsuresh6809 6 ปีที่แล้ว +5

    Man! You never asked us to like share subscribe in the beginning....but we definitely will coz we really appreciate how well the concept was explained

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you so much for the valuable feedback 😊 do share the videos with your friends too ✌️ that will be the best help buddy 😇 and happy to hear you liked the video ✌️

  • @amrutachavan7686
    @amrutachavan7686 4 ปีที่แล้ว +7

    neso academy and simple sinnppets make my day

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Thats really great to know buddy🙏

    • @hemas3163
      @hemas3163 4 ปีที่แล้ว

      Relatable 😄

  • @accelerate8646
    @accelerate8646 2 ปีที่แล้ว

    bhai awesome teaching , it felt like i am talking to myself

  • @shahidkaleem6679
    @shahidkaleem6679 2 ปีที่แล้ว

    Waoo Wonderfull lecture, it gave me an immense understanding which will never be forgotten. Thank you so much dear

  • @dhineshkumard9512
    @dhineshkumard9512 3 ปีที่แล้ว +1

    Your english speaking is very good and understandable.

  • @guillermorobledo2842
    @guillermorobledo2842 4 ปีที่แล้ว +4

    This video cleared it all up for me.
    I was always wondering why I couldn't get a sub class to inherit values, never thought that it was only able to get variables and member functions.
    It's kind of a bummer.
    Inheritance is only cataloguing everything.

  • @nehalbagda5763
    @nehalbagda5763 4 ปีที่แล้ว +1

    lol i'm the kid whos's got a test tomorrow and finding tutorials to make it through and damn i found literally the best channel to learn from .......!!!!!!

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว +1

      Haha I am glad you found Simple Snippets. Welcome to SS fam! Hope your exam went well!

    • @nehalbagda5763
      @nehalbagda5763 4 ปีที่แล้ว

      @@SimpleSnippets yes it helped alottt!

  • @jkpawar0082
    @jkpawar0082 6 ปีที่แล้ว +5

    Thanks bro ..ur teaching skills are.. lit 🔥..I love ur way of explaining the things.....
    And yaa no need to say pls....u deserve more .!!
    Thnx. Luv luv.☺️

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you so much buddy. This comment really made my day 🔥 glad to hear from you and please do share the videos with your friends and contacts. That's best help and support you can provide to our channel. Hope to hear more from you 😊🤟

  • @EnigmaStudioPro
    @EnigmaStudioPro 4 ปีที่แล้ว +1

    Liked and subscribed. Thank you for explaining this topic. I'm from Pakistan and I found your tutorial really helpful.

  • @abhishekkondekar2285
    @abhishekkondekar2285 5 ปีที่แล้ว +2

    You made it look really simple .Thank you so much...!

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Thank you so much bro for such a positive feedback. Yes the whole idea of my tutorials are to try and make these concepts as easy as possible, hence the name Simple Snippets 😁 I would request you to please share the videos with your friends too & do checkout the full channel as there is lot more ✌

  • @sriharsha6748
    @sriharsha6748 4 ปีที่แล้ว +1

    You are my new teacher bro

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Thanks bro, please do share the videos with your friends too & I hope you have subscribed. Thats the biggest help and support you can provide ✌

  • @Vikash_1.0
    @Vikash_1.0 3 ปีที่แล้ว

    Best Tutorial❤️❤️❤️

  • @SahilKumar-ni7su
    @SahilKumar-ni7su 4 ปีที่แล้ว

    bruh!! you are the best means super se v uper all concept gone directly in mind thank you for this video love you dil se

  • @immidisettytejaswini3487
    @immidisettytejaswini3487 6 ปีที่แล้ว +1

    Mind blowing teaching...really superb..!!!

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Hehehe thank you so much Tejaswini 😊 really glad you liked the videos. I would request you to please share the videos with your friends too 🤟✌️

  • @finneko-ai
    @finneko-ai 3 ปีที่แล้ว

    DUDE YOU ARE AMAZING! KEEP UP THE GOOD WORKS! Once i get the job i will donate for u to let u know ur knowledge helped me owo .

  • @michaelhernandez2075
    @michaelhernandez2075 3 ปีที่แล้ว +1

    Thanks again Professor.

  • @jaffinrocks
    @jaffinrocks 5 ปีที่แล้ว +1

    Liked your teaching. Thanks man.

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Most welcome buddy 😋 really glad to hear this. I would request you to please share the videos & channel with your friends. That's the biggest help & support for the channel 😊

  • @bkkoteswarrao9411
    @bkkoteswarrao9411 6 ปีที่แล้ว +1

    Excellent explanation with excellent voice

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you so much Koteshwar ✌️ glad you liked the explanation as well as the voice 😉
      Would be great if you can share the content as well ✌️
      Peace!

  • @arpitverma8060
    @arpitverma8060 4 ปีที่แล้ว +1

    Bruh.....phenominal and appreciated

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Thanks buddy! Please share the videos with your friends if you want to genuinely support me & our channel!✌😇

  • @rahuljangid5134
    @rahuljangid5134 5 ปีที่แล้ว +1

    What is the difference between public and protected inheritance?
    Are protected data members accessible outside of the class ?
    Thank you.

    • @kirtiseth9783
      @kirtiseth9783 4 ปีที่แล้ว

      Protected are accessible only to the immediately derived class.

  • @baobuiquang9743
    @baobuiquang9743 3 ปีที่แล้ว +1

    You are really really reallyyyyy awesomeeeeeeeeeeee!

  • @Ninonakano_00
    @Ninonakano_00 4 ปีที่แล้ว +1

    thank you for making this video! lots of love from malaysia

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Thank you so much buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

  • @hussainjohar5286
    @hussainjohar5286 5 ปีที่แล้ว +1

    I am from pakistan i just love your lectures because our teacher have no teaching skills thanks bro

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +1

      Thank you so much Hussain 😊 I'm very happy to hear that my videos help you ✌️
      I would request you to please share the videos with your friends too ✌️

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +1

      Also maybe there's lack of understanding between you and your teacher or the teaching style is different. However I would want to say that, hope you don't have the feeling of hate for the teachers who you think you don't understand well from. Cause even they're humans and trying their best to help educate. Maybe they're style is different and not suiting you but still hope you understand that 😊✌️

    • @hussainjohar5286
      @hussainjohar5286 5 ปีที่แล้ว +1

      thank you sooo much sir

  • @421_prachigupta6
    @421_prachigupta6 4 ปีที่แล้ว +1

    Thank you so much for your videos ❤️

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Glad you like them! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

  • @j3froc63
    @j3froc63 5 ปีที่แล้ว +1

    Actually good vid, explains what goes on clearly and concisely like line by line. Searched too many vids that has too many jargon and unclear at all.

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Thank you so much my friend 😊✌️
      Happy to hear this from you. I would request you to please share the video with your friends too ✌️

  • @priyanka-ns9sz
    @priyanka-ns9sz 2 ปีที่แล้ว

    keep it up 💫 The way u taught is really good 🤞

  • @nashhash4625
    @nashhash4625 7 ปีที่แล้ว +1

    Thank you for such a good explanation

    • @SimpleSnippets
      @SimpleSnippets  7 ปีที่แล้ว

      +Nash Hash You're welcome buddy 😇✌️ this really means a lot ✌️

  • @anukrishnak.l4550
    @anukrishnak.l4550 4 ปีที่แล้ว +1

    Really helpful💞

  • @muhammadabdurrehman1123
    @muhammadabdurrehman1123 6 ปีที่แล้ว

    great bro
    it was very helpful;
    thank you so much

  • @saadmumtazkhan1403
    @saadmumtazkhan1403 2 ปีที่แล้ว

    is there any difference between public and protected inheritance?

  • @aayushadhikari7851
    @aayushadhikari7851 3 ปีที่แล้ว

    GOD level teaching

  • @aheshjangala32
    @aheshjangala32 3 ปีที่แล้ว

    While accessing members of base class in public mode then y x and y are not accessed in public mode

  • @bhavanabharatisingh4135
    @bhavanabharatisingh4135 6 ปีที่แล้ว +1

    Simply..a big thank you....expecting some more videos here ...:)

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Thank you so much Bharti for such a positive feedback. And yes I have a complete C++ programming playlist on this channel. You can check it under playlists on this channel 😊✌️

  • @himanshubhatt6240
    @himanshubhatt6240 4 ปีที่แล้ว

    Thank you for this♥️🧡♥️

  • @akhilreddy3434
    @akhilreddy3434 ปีที่แล้ว

    Hey...in public derived "Y" should be public right? why it is protected?

  • @khammamkalyani2965
    @khammamkalyani2965 2 ปีที่แล้ว

    really excellent tutorial..But the class name first letter should be in
    capital right?

  • @suravijayram1010
    @suravijayram1010 2 ปีที่แล้ว

    Clear explination bro

  • @uh564
    @uh564 4 ปีที่แล้ว +1

    very good video thanks

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Thanks buddy, please do share the videos with your friends too & I hope you have subscribed. Thats the biggest help and support you can provide ✌

  • @anujsingh8206
    @anujsingh8206 4 ปีที่แล้ว

    while creating object in line 27 Rectangle Rect .will the default constructor be called here because we havent made any explicit constructor? please clear the doubt

  • @priyanka-ns9sz
    @priyanka-ns9sz 2 ปีที่แล้ว

    Awesome😍👍💫

  • @harshitchopra1551
    @harshitchopra1551 2 ปีที่แล้ว

    Don't we have to write a default contructor for base class when compiler reads derived class?

  • @modoulaminceesay9211
    @modoulaminceesay9211 3 ปีที่แล้ว

    this is very helpful

  • @channelscout560
    @channelscout560 5 ปีที่แล้ว +1

    you have good grip in programming. so keep it up

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +1

      Thanks buddy 😊 I'll keep adding more content. I would request you to please share the video with your friends too 😊

    • @channelscout560
      @channelscout560 5 ปีที่แล้ว +1

      @@SimpleSnippets ya ofcourse I have already shared your video in our uni.. group because of we have to made project in oop through c++ language we need your lectures to gain our grip.

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Oh that's great to know ✌️😋

    • @channelscout560
      @channelscout560 5 ปีที่แล้ว

      Can you suggest us for our project proposal in oop??

  • @EmmanuelDanquah-l7c
    @EmmanuelDanquah-l7c 5 หลายเดือนก่อน

    Thanks very much Sir

  • @ujwalm356
    @ujwalm356 5 ปีที่แล้ว

    Bro i hv some doubt. inside public only height and width are defined .Why did u use protected over there?

  • @shilpaajmera5942
    @shilpaajmera5942 4 ปีที่แล้ว +1

    Thankyou so much sir

  • @KJD578
    @KJD578 3 ปีที่แล้ว

    why direct intillize the width and height values in class with out using function wait for ur reply

  • @mnshort9985
    @mnshort9985 3 ปีที่แล้ว

    Super Anna vera 11 teaching

  • @danushkanuwan4351
    @danushkanuwan4351 6 ปีที่แล้ว +1

    Thank you very much!!

  • @Raysitaas
    @Raysitaas 5 ปีที่แล้ว +1

    Thank you so much for these tutorial! I've been binge watching your video and it is very helpful! just subscribed!

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Thats great to know Raysita 😇 Please do share the videos with your friends too 😇

  • @theshubhamdhage
    @theshubhamdhage 4 ปีที่แล้ว +1

    thanks bruh...😃

  • @Skier77
    @Skier77 4 ปีที่แล้ว +1

    thanks man!

  • @khadijanaheed8310
    @khadijanaheed8310 6 ปีที่แล้ว

    I applaud your efforts!!

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Hello, thank you so much for such a wonderful response. I'm glad you liked the video. Please do share it with your friends and contacts 😇😎 it'll be helpful to others too ✌️

    • @khadijanaheed8310
      @khadijanaheed8310 6 ปีที่แล้ว +1

      i watched your's videos over and over again..these videos helped me alot! I appreciate your efforts and the way you teach! Thanks alot.

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you very much. I'm very happy to hear that I could be of help to you. Help me in reaching out to more and more students and people who will get benefit from these videos by sharing it on social media. That's the most helpful thing you will do for everyone 😇

    • @khadijanaheed8310
      @khadijanaheed8310 6 ปีที่แล้ว +1

      Why not!!

  • @subratamitra6668
    @subratamitra6668 6 ปีที่แล้ว +2

    Bro I wish u were my teacher in my school

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Hehe, thanks a lot for the compliment buddy. Sure I would love to teach your school 😉
      Although, for now I'm here on youtube for everyone always ✌
      Please do share the videos and channel with your friends and contacts, that will be the best help and support for our channel 😇

  • @kratos8850
    @kratos8850 6 ปีที่แล้ว +1

    bro your teaching is really good.Thank you!!
    Can you please do some questions on these topics.

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Hey thank you so much buddy. I'm so happy to hear this and that these videos helped you. I have a complete C++ programming playlist on my channel so you can check that out. Apart from that if you want more topics you can surely let me know here in the comments or DM via Instagram or Facebook page ✌️😇

    • @kratos8850
      @kratos8850 6 ปีที่แล้ว +1

      thanks a lot
      i'll surely check them out

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Also please do share the videos and channel with your friends too 😇✌️
      That'll be the best help and support for our channel 😇

  • @sumanthchakravarthi6853
    @sumanthchakravarthi6853 4 ปีที่แล้ว

    Can you please orderly place your videos in the playlist??

  • @vijaymanglani9647
    @vijaymanglani9647 6 ปีที่แล้ว +1

    Could you please let me know which software you use for screen recording?

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Sure Vijay. I am using OBS studio for my screen recording. OBS is a open source video recording software. Here is the link if you want to check it - obsproject.com/download
      If you liked ths video please do share it with your friends and contacts as that will be the biggest help and support for our channel buddy 😇✌

    • @vijaymanglani9647
      @vijaymanglani9647 6 ปีที่แล้ว +1

      Sure... I will share these videos with my classmates... :)

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you so much buddy. keep up the support 😇✌

  • @nicksun6588
    @nicksun6588 3 ปีที่แล้ว

    what a legend

  • @reddykiran5922
    @reddykiran5922 5 ปีที่แล้ว +1

    Bro u saved me

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Most welcome bro! Simple Snippets to the rescue 😇

  • @klutchboi3266
    @klutchboi3266 4 ปีที่แล้ว +1

    Why dont you try to number these tutorias so its easier to follow. Just add "Inheritance tutorial #1" or something at the end. Or you could make playlist and put them in order. Just a friendly suggestion from a regular viewer :)

  • @arundhatisahoo1116
    @arundhatisahoo1116 4 ปีที่แล้ว

    Multilevel inheritance of disadvantaged plz tell

  • @medianusha2519
    @medianusha2519 6 ปีที่แล้ว +1

    Good explanation

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you for the positive response 😇
      Please do share the video with your friends and contacts 😇✌️

  • @abdul.rahim.k
    @abdul.rahim.k 6 ปีที่แล้ว +1

    Perfect....!!!

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Thanks bro 😇✌️ means a lot to me. Do share the video with your friends too ✌️

    • @abdul.rahim.k
      @abdul.rahim.k 6 ปีที่แล้ว +2

      Yeah... For sure...!!!

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Thank you so much buddy 😇 very happy to see such support ✌️

  • @zhalokrahman6654
    @zhalokrahman6654 6 ปีที่แล้ว +1

    you have done a mistake in the 2nd line of the 2nd chart(of the protected access) which may cause confusion
    just like the way it did to me
    there u have written the same line "own class" which should be "derived class"

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      I think I made that change in the video. Sorry for the inconveniences though 😅👍

  • @shrishailishedabale4886
    @shrishailishedabale4886 3 ปีที่แล้ว

    Brother plz make a video on binary operator overloading.

  • @khadijanaheed8310
    @khadijanaheed8310 6 ปีที่แล้ว +1

    excuse me sir! if WE HAVE FUNCTION overriding like this..
    #include
    using namespace std;
    class Parent
    {
    public:
    void output()
    {
    cout

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      I dont think dynamically you can make child class object to call parent class function. however you can achieve that at compile time. Here's how -
      #include
      using namespace std;
      class Parent
      {
      public:
      void output()
      {
      cout

  • @jyotisingh771
    @jyotisingh771 6 ปีที่แล้ว +1

    Osmmmm👍👍👍👍

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Hey hi Jyoti! Thank you do much for such a positive reply 😇 do share the video with your other friends and contacts too 😋✌️

  • @hariprasad-ik6vy
    @hariprasad-ik6vy 6 ปีที่แล้ว +1

    bro i am also in teaching(fresher) programming in private institute ,i will follow your teachings and many websites to teach my students can you guide me how to improve my teaching

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Oh that's great buddy. You are doing a noble job of spreading your knowledge 😊😎
      And sure I'll definitely help you in what ever doubts you have about teaching. ✌🏻
      You can send me a mail at simplesnippetsinfo@gmail.com or we can communicate via our Instagram profile - instagram.com/simplesnippets
      One very basic tip I can give you right now is, since you your students personally you can always keep taking their feedback and then you can change your style of teaching if students are not following. Student feedback is very important. 😊✌🏻

    • @hariprasad-ik6vy
      @hariprasad-ik6vy 6 ปีที่แล้ว +1

      @@SimpleSnippetsthank you for your response bro

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Most welcome 😊 let me know if you need any help with teaching or anything in general. Will surely help as much as possible 😊✌️

  • @logicalinfo6690
    @logicalinfo6690 6 ปีที่แล้ว +1

    hey tanmay bro! when you will make videos on different types of inheritance with examples????

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Hey hi, I think I have videos on hybrid or multiple inheritance already in the C++ programming playlist on this channel itself. Other types are very basic. But surely if you want I'll try to cover them soon ✌️

  • @yashwanthyashu5366
    @yashwanthyashu5366 4 ปีที่แล้ว +1

    I coded exactly what you did , but my output shows : "total area :-11517"
    😑

  • @neerajmahapatra5239
    @neerajmahapatra5239 5 ปีที่แล้ว +3

    Hey when you are coming live ..
    We people want to talk to you and thank you...

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Hi Neeraj, live video is still far away. Maybe on 50k subs or 100k 😉 but surely will come live 😎

    • @neerajmahapatra5239
      @neerajmahapatra5239 5 ปีที่แล้ว +1

      @@SimpleSnippets ok lets make it...i will share wherever its possible..

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      That'll be the best help and support for our channel buddy ✌️😊

  • @dihedral6374
    @dihedral6374 5 ปีที่แล้ว +1

    Do u have a video,where u have called base class condtructpr with derived class object ? Plz share the link.
    Btw love from ukrain ❤❤❤

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +1

      I don't think so, but you can check the full playlist on the channel 😇
      Also thank you so much bro for the love & support :-)

  • @kalsoomasghar1344
    @kalsoomasghar1344 6 ปีที่แล้ว +1

    omg how are you so gooooddd

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Hehe ,😋 Thank you so much for the positive feedback buddy 😇 happy to hear from you. I would request you to please share the video with your friends and contacts 😇✌️ that'll be the best help for everyone ✌️

    • @kalsoomasghar1344
      @kalsoomasghar1344 6 ปีที่แล้ว +1

      @@SimpleSnippets sure

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Thank you so much 😋✌️

  • @ahtishamahmed1551
    @ahtishamahmed1551 4 ปีที่แล้ว +1

    nice

  • @MrRightThinker
    @MrRightThinker 5 ปีที่แล้ว +1

    अच्छा विडियो

  • @tdgamer3451
    @tdgamer3451 4 ปีที่แล้ว

    thansks

  • @vaidehimahyavanshi558
    @vaidehimahyavanshi558 3 ปีที่แล้ว

    BESTTTTT

  • @hasanjaved7772
    @hasanjaved7772 5 ปีที่แล้ว +7

    Bro tysm.
    Love frm Pakistan.
    Secnd. Yar kindly speak thora slow..ur having like 4x speed.lol

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +6

      Most welcome bro. Happy to hear positive feedback from you 😇
      Sorry for the fast speed buddy. I will slow it down in future . Kabhi kabhi woh flow main realize hi nai hota ki speed jyada hogaya hai 😅✌

    • @RathourShubham
      @RathourShubham 5 ปีที่แล้ว +3

      lol... I had been listening to him on 1.7x...

  • @abdobassel7738
    @abdobassel7738 3 ปีที่แล้ว +1

    English please 😅 your Indian English it's some kind of an understand... Also you speak fast... But thank you you are amazing 🥰

  • @sarathchandrankg
    @sarathchandrankg 4 ปีที่แล้ว +1

    🔥🔥🔥

  • @smtusharibnesalam8688
    @smtusharibnesalam8688 5 ปีที่แล้ว +1

    At 2:07 spoken a 💯 marks sentence

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Thank you so much 😇 Please do share the video with your friends too ✌

  • @anirudhhar8877
    @anirudhhar8877 2 ปีที่แล้ว +1

    ❤️💥

  • @prayushdawda7807
    @prayushdawda7807 5 ปีที่แล้ว +1

    Number of wings for birds?! fr?? xD
    Awesome explanation though!

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว +1

      Hehe yeah that was a bit silly I guess 😂
      Thank you so much for the positive feedback though ✌️😉

  • @Albertrose.24
    @Albertrose.24 3 ปีที่แล้ว

    👏👏👏👏🎉🎉

  • @priyakarnam
    @priyakarnam 2 ปีที่แล้ว

    gway of ood explanation but too fast. slowing down the way you explain would be much better

  • @pratikjagdale7498
    @pratikjagdale7498 3 ปีที่แล้ว

    💯✌👑