Can any one help me!!!
I have an inner class in the main class. There is some variable declared in main class some thing like this

class MainClass
{
class Inner
{
public :
Display();
};

public:
int x;
Inner inObj;
};



I need to know that is there any way to access x from function display.