// File: cctest5.cpp // // Use the ColorCube class. // Checking assignement statement. #include #include "ColorCube.h" using namespace std ; int main() { Box b ; Cube c(2.3) ; ColorCube cc(1.2, ColorCube::blue) ; // use alternate constructor b = c ; b.identify() ; c = cc ; c.identify() ; cc = b ; cc.identify() ; }