The following C style:
typedef struct {
int x, y;
} point, * ppoint;
typedef struct {
point; int r;
} circle, * pcircle;
typedef struct {
point c; int r;
} circleEx, * pcircleEx;
...would be "equal" to the C++ style :) :
class CPoint
{
int x, y;
public:
};
class CCircle : public CPoint
{
int r;
public:
};
class CCircleEx
{
CPoint c;
int r;
public:
};