Newsgroups: comp.lang.lisp,comp.lang.c++
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!newsfeed.internetmci.com!news.sprintlink.net!mercury!not-for-mail
From: Omar Othman <oothman>
Subject: How to contain a object with different attribute...
Message-ID: <11c7cc$a24.1a2@mercury>
Date: Sun, 28 Jan 1996 18:02:04 GMT
Organization: Simulation Sciences Inc.
X-Mailer: Mozilla 1.1 (Windows; U; 16bit)
MIME-Version: 1.0
References: <rvillDL4v3n.I8r@netcom.com> <hbaker-2201961503250001@10.0.2.15> <4eae5s$66p@nz12.rz.uni-karlsruhe.de> <4ecmfo$as9@news2.ios.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Lines: 16
Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:20625 comp.lang.c++:171136

Hi. C++ers.

This question keeps on bothering me.  I know it can be done.  I just need 
some example to get through the concept:

If I want to contain a lot of object with different attribute with one 
array or tree so that I can walk through all of them one by one.  How can 
I do it?  If you answer is too long, please point me to a book with some 
examples.

thanks a lot.

you can post or send a e-mail to JYANG@simsci.com

Jerry


