What is the right way to do the constructors for things like this? Do I only set height and width in Rectangle?
class Rectangle {
public:
Rectangle(int height, int width);
int height, int width;
};
class Square : Rectangle {
Square(int height, int width);
}