suppose there is one class which is derived from another class and contains one friend function with pointer of class-name data type so my problem is it is difficult to access memeber function of that class through friend function using pointers.

Your wording is a little ambiguous, how about an example?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.