Member-Access Control
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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:

See Also

C++ Language Reference

© 2015 Microsoft