From: FABIAN H. <fhu...@ho...> - 2004-02-08 22:32:55
Hello!
i have a question about c++, how can I declare that an object A has a
reference to an object B, and this object B has a reference to A? it this
posible.
Thanks for the attention.
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
class A;
class B;
class A {
protected:
B *ptr_to_B;
};
class B {
protected:
A &ref_to_A;
};
/Per W
On Sun, 8 Feb 2004, FABIAN HUENUMAN wrote:
> Hello!
>
> i have a question about c++, how can I declare that an object A has a
> reference to an object B, and this object B has a reference to A? it this
> posible.
> Thanks for the attention.
>
> _________________________________________________________________
> MSN Amor: busca tu =BD naranja http://latam.msn.com/amor/
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>