Friend functions, though member function of a class, can be used for all classes within the scope. Even the derived classes comes under this. Derived class does not inherit friend function, but it can access it just like other members. I'm not sure if I'm right (I too am only a beginner). pls correct me if i'm wrong.
On 2/29/08, samba8514 <[EMAIL PROTECTED]> wrote: > > this is the point i studied from C++ Complete Reference (3rd Ed.).pdf > > First, a derived > class does not inherit friend functions. > > page no:302(335/1041) > > i want one prog to prove this statement > pls try this once > > > [Non-text portions of this message have been removed]
