Create
a class with
public,
private,
and
protected
data members and function members. Create an object of this class and see what
kind of compiler messages you get when you try to access all the class members.
Create
a class and a global
friend
function that manipulates the
private
data in the class.
Modify
Cheshire
in
Handle.cpp,
and verify that your project manager recompiles and relinks only this file, but
doesn’t recompile
UseHandle.cpp.