In that case, B probably should not inherit from A, and if it does inherit, it should use private inheritance. My guess is that you should have an object of class A as a member variable of B...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: laserlight Search: Search took 0.07 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |