次の方法で共有


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

Concepts

C++ Language Reference