// ***************************************************************** // Author: Zhixiang Chen // Class: CSCI/CMPE 2380, Spring 2009 // Lab 7: Header file for Lab 7 // Date: January 14, 2009 // Comment: The code here is meant to be revised. // ***************************************************************** #include #include using namespace std; #ifndef LAB2380_10_HEAD_H #define LAB2380_10_HEAD_H //base class B class B { private: char *ptrB; public: B() { ptrB=new char[16]; cout<<"B allocates 16 bytes"<