RE: [Dev-C++] CROSS REFERENCE WITH OBJECTS
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2004-02-09 07:39:41
|
Perhaps you can declare both classes as firends of each other (use the friend keyword). You can then declare object A in class B and vice-versa (I think). >From: "FABIAN HUENUMAN" <fhu...@ho...> >To: dev...@li..., >dev...@li... >Subject: [Dev-C++] CROSS REFERENCE WITH OBJECTS >Date: Sun, 08 Feb 2004 22:32:04 +0000 > >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/ > > > >------------------------------------------------------- >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 _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger |