Reasons to control access to structure members
access specifiers
public
private
protected
friend
nested friends
C Struct
C++ Struct
Use of class
C++ class vs C struct
C++ class vs C++ struct
Implementation Hiding