Kohinoor24
September 4th, 2002, 07:10 AM
Helo,
I have a class say A;
class A
{
public:
Test();
friend class B;
};
I have another class B;
class B
{
void Hello()
{
}
};
What I need here is,from class B's Hello() Function ,I want to call the class A's Test() function by using friend class.
How Can I do this...
Thanks...
I have a class say A;
class A
{
public:
Test();
friend class B;
};
I have another class B;
class B
{
void Hello()
{
}
};
What I need here is,from class B's Hello() Function ,I want to call the class A's Test() function by using friend class.
How Can I do this...
Thanks...