Video není dostupné.
Omlouváme se.
Base Class Access Specifiers | C++ Tutorial
Vložit
- čas přidán 23. 03. 2022
- Learn how the base class access specifier works with inheritance in C++. The base class access specifier works in conjunction with the base class member access specifiers to determine the access specification of the members in the derived class, in this video we go over the different combinations with examples. Source code: github.com/portfoliocourses/c.... Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Best pratice to understand access modifiers
Thank you Muhammed! 🙂
Very well explained. Thank you very much.
You're very welcome Eduardo, I'm glad you enjoyed the explanation! :-)
Awesome explanation, very clear and easy to understand
Thank you for the kind words, I’m glad to hear that you enjoyed it! :-)
Thank you! You got me through it. :)
That's awesome I'm glad to hear that Christian! :-)
Thanks, I was confused by this.
You’re welcome Joe! :-)
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?
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
thank you
What do you use when coding,,,is it falcon or code block
In this video I am using Xcode on a Mac. :-)
Wooow,,,it seems to be very nice and easy to use
Do you know any other which you think it's better than this
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. :-)