Assigned Reading: 7.1-7.3
Slides As Shown:
Topics Covered:
Alternatively, we can use a modified version of the header file privhack.h which does not have private data members. Even though the definition of class foo has been modified, it remains compatible with the compiled implemenation of the member functions. (See main2.cpp and sample run.)