|
-
September 4th, 2002, 07:10 AM
#1
Friend Class
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|