Member-Access Control

With C++, you can specify the level of access to member data and functions. There are three levels of access: public, protected, and private. This section explains how access control applies to objects of class type and to derived classes. This section includes the following topics:

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft