Search:

Type: Posts; User: Elysia

Search: Search took 0.16 seconds.

  1. "You can do" does not mean it's right. What...

    "You can do" does not mean it's right.
    What relationships does difigura2 have with difigura3?
  2. Yes, you can do that. You need some sort of...

    Yes, you can do that. You need some sort of instance.
    But if this is right or not, I cannot say from this context.
  3. Erm, no. All you need--anywhere--is an instance...

    Erm, no.
    All you need--anywhere--is an instance of the class whose member functions you want to use.
    Now, if difigura2 wanted to use a private member function in difigura3, then you would need...
  4. Erm, retorna is a public function. You don't need...

    Erm, retorna is a public function. You don't need friends.
    But it is inside d_figura3, and not d_figura2, which really means that need an instance of d_figura3 to use. How to do or why are questions...
Results 1 to 4 of 4