#include "Rectangle.hpp" Rectangle::Rectangle(int w, int h) { cout << "Calling 2 args constructor" << endl; width = w; height = h; } Rectangle::Rectangle(int s) { cout << "Calling 1 args constructor" << endl; width = s; height = s; } Rectangle::Rectangle() { cout << "Calling default constructor" << endl; width = height = 0; } Rectangle::Rectangle(const Rectangle& r) { cout << "Calling copy constructor" << endl; width = r.width; height = r.height; } void Rectangle::setWidth(int w) { width = w; } void Rectangle::setHeight(int h) { height = h; } int Rectangle::getWidth() { return width; } int Rectangle::getHeight() { return height; }