Search:

Type: Posts; User: edwrodrig

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,617

    The overall problem is and double enlaced tree,...

    The overall problem is and double enlaced tree, in other words, parent has pointer to child and viceverse.



    #include <iostream>
    using namespace std ;

    class Branch ;

    class Tip
  2. Replies
    9
    Views
    1,617

    Then the definiton of protected as "derived class...

    Then the definiton of protected as "derived class can access to protected member of it's superclass" is incomplete because that only works if both are the same instance of the classes.

    The problem...
  3. Replies
    9
    Views
    1,617

    but _x isn't a private member, is a protected...

    but _x isn't a private member, is a protected one, and B is a subclass of A.
  4. Replies
    9
    Views
    1,617

    problem with protected members

    I know that protected member of a class can be accessed by subclasses of the previous class.
    But I have a problem when I compile this code



    #include <iostream>
    using namespace std ;

    class...
Results 1 to 4 of 4