hi ..

here are my classes ..

class WellData ;
class SpotData ;
class Cell
{
protected:
int x1,y1;
int x2,y2;
WellData **well;
public:
Cell();
virtual ~Cell();
};

class WellData : public Cell
{
protected:
int x1,y1;
int x2,y2;
SpotData **spot;
public:
WellData();
~WellData();
};
class SpotData : public WellData
{
int x1,y1;
int x2,y2;
public:
SpotData();
};


I have in the usage ..
Cell assay;

I cannot access .. Spotdata private members from Cell .. but the other way is TRUE .. like .. I can access .. derived class members ..
How can i make 2 way access work ..
like.. from assay .. sud be able to acces .. welldata and spotdata ..
thank you
regards,
micromysore