OOP Memberwise Copy Example


This is an example of using the assignment operator (=) to assign one object to another. The shallow object is able to be memberwise coppied and the deep object is not. The test proram crashes as a result of the error made trying to preform a memeberwise copy on a deep object.
Memberwise.cpp  
Shallow.h  
Deep.h  
Deep.cpp