Search:

Type: Posts; User: Mr.777

Search: Search took 0.01 seconds.

  1. Okay. So, tharnier, you can just do like this.......

    Okay. So, tharnier, you can just do like this.... as mentioned above.
    You just need to define the virtual function inside the difigura3 class so that it's no more virtual.
  2. Okay but from difigura2, how he/she may access...

    Okay but from difigura2, how he/she may access public functions?
    May we do like;


    difigura2 obj;
    obj.member_Function_Of_Class_Difigura3();

    So?
  3. He/she needs to call it from the instance of...

    He/she needs to call it from the instance of difigura2. That's why i said him to use friend classes.
    I think that's the only way to access using the object of one class and calling other member...
  4. You should read this....

    You should read this.
  5. You can't access it from minifgura2 unless you...

    You can't access it from minifgura2 unless you make it a friend class of d_figura2.
  6. Your base class is a pure virtual class and the...

    Your base class is a pure virtual class and the second derived class becomes also virtual as you are not defining the virtual function in it. That's why you can't instantiate it's object. Define that...
Results 1 to 6 of 6