Object composition is a concept older than object oriented programming itself. Let us start off with a well understood example of how to represent a rectangle on a Cartesian plane: struct point { int x; int y; } ; struct rectangle { point tl; /* top left corner */ point br; /* bottom right corner */ } Here the rectangle object is a composition of two point objects and tl &.. Read More