basics of c++ encapsulation
- by sasquatch
I have a task to create class Encapsulation, with fields in available encapsulation sections. Then I must create an application showing all allowed and forbidden methods of fields access.
What are the encapsulations sections in c++ ? And what methods apart from object.field or *object-field are there anyway ?