Base Class Access Specifiers | C++ Tutorial

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

КОМЕНТАРІ • 18

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

    Best pratice to understand access modifiers

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

    Very well explained. Thank you very much.

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

      You're very welcome Eduardo, I'm glad you enjoyed the explanation! :-)

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

    Awesome explanation, very clear and easy to understand

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

      Thank you for the kind words, I’m glad to hear that you enjoyed it! :-)

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

    Thanks, I was confused by this.

  • @jonykhan4395
    @jonykhan4395 10 місяців тому

    Good work: Does the private member of the Base class is sharing memory for the child object or child object just has the permission to access from the Base class?
    In the case of public and protected, Do the protected and public members of the Base class share memories for the child object?

    • @dornauge1995
      @dornauge1995 10 місяців тому

      i think since the implementation can be purely in the base class and the object of the base class is called in the constructor of the derived class that actually two objects get created, the objects stay seperate but can access each other trough inheritance

  • @CELESTINEKILONZO-zx3wg
    @CELESTINEKILONZO-zx3wg Рік тому +1

    What do you use when coding,,,is it falcon or code block

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

      In this video I am using Xcode on a Mac. :-)

    • @CELESTINEKILONZO-zx3wg
      @CELESTINEKILONZO-zx3wg Рік тому

      Wooow,,,it seems to be very nice and easy to use

    • @CELESTINEKILONZO-zx3wg
      @CELESTINEKILONZO-zx3wg Рік тому

      Do you know any other which you think it's better than this

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

      Xcode is probably my favourite, Visual Studio Code can make an excellent editor and you can connect it to C++ compilers with extensions and whatnot. :-)

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

    Thank you! You got me through it. :)

  • @nvrbck
    @nvrbck 8 місяців тому

    thank you