Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: gyps
  • Order by date
  1. gyps

    Accessing protected members

    Just to clarify, I'm trying to access the function "f" for another pointer of type "A*", or even "B*". It doesn't compile.
  2. gyps

    Accessing protected members

    Hi I'm using Visual C++ .Net version 1.1, but this might be a general C++ question really. Say we have a base class A with a protected member function "f", and a derived class B with some member function "g". Now inside "g", I can access "f" for the "this" pointer, in other words: f(); or...

Part and Inventory Search

Back
Top