Type initialization / Structures

#include <iostream>
using namespace std;

struct Size {
    int width, height;

    Size () {}
    Size (int width, int height) {
        this->width = width;
        this->height = height;
    }
};

struct Point {
    int top, left;

    Point () {}
    Point (int top, int left) {
        this->top = top;
        this->left = left;
    }
};

struct Rectangle {
    Size size;
    Point point;

    Rectangle (Size size1, Point point) {
        this->size = size1;
        this->point = point;
    }
};

Size size(1010);
Point point(55);
Rectangle rect(size, point);

cout << rect.size.height;