Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!mcnc!beguine!hasty!jfm From: jfm@hasty.med.unc.edu (John F. Miller) Newsgroups: comp.lang.c++ Subject: Re: How do I use a Turbo C++ Classlib iterator? Keywords: iterator, forEach Message-ID: <2785@beguine.UUCP> Date: 28 Feb 91 15:13:44 GMT References: <2780@beguine.UUCP> Sender: usenet@beguine.UUCP Reply-To: jfm@uncmed.med.unc.edu (John F. Miller) Organization: UNC School of Medicine, Dept. of Pharmacology Lines: 10 Could some kind soul please give me an example of how to use the Turbo C++ Classlib class ListIterator? I want to make a List of objects and then access the public elements of each object on the list, and I'm at a loss as to how the iterator works. An example of the use of ForEach would be very helpful, too. John Miller Department of Pharmacology, UNC-CH School of Medicine 1026A FLOB (231H) CB#7365, Chapel Hill, NC 27599 Tel: (919) 966-6966