#include "Rectangle.hpp" Rectangle::Rectangle(int w, int h): width(w), height(h) { std::cout << "Constructor with 2 parameters!\n"; } Rectangle::Rectangle(int s) : width(s), height(s) { std::cout << "Constructor with 1 parameter!\n"; } Rectangle::Rectangle(): width(0), height(0) { std::cout << "Constructor with 0 parameters!\n"; } Rectangle::~Rectangle() { std::cout << "Rectangle destructor!\n"; } int Rectangle::getWidth() const { return width;} int Rectangle::getHeight() const { return height;} void Rectangle::setWidth(int w) { width = w; } void Rectangle::setHeight(int h) { height = h; }