Add an overloaded assignment operator, a copy constructor to the Cube class, and a printCube member function in the attached lab6_ex2_copy_operator_starter.cpp. This starter is incomplete, you have to fill the right stuff in the blank in order to compile correctly.
This copy constructor should accept a Cube object as an argument. The constructor should assign to the Cube attribute (width, length and height) the value in the arguments Cube attribute. As a result, the new object will be a copy of the argument object.
using namespace std;
int width, length, height;
Cube(const Cube &c)
cout<<“Copy constructor called “<<endl;
// fill the copy constructor
Cube& operator = (const Cube &c)
cout<<“Assignment operator called “<<endl;
// fill the assignment overload operator