Article View: borland.public.cppbuilder.nativeapi
Article #10270What can I use instead of go through a List?
From: PC Hua
Date: Tue, 11 May 2004 23:04
Date: Tue, 11 May 2004 23:04
16 lines
1263 bytes
1263 bytes
For instance, I have a list (the length is known) of components: Item.Name="Apple"; Item.ID= 56789; // Sytem generated and initialized in runtime ... Now my problem is to retrieve the name for a given ID. Is there any implementation of a list which allows to find the name of the item efficiently? Any suggestion? thanks PC HUA -- _/\__/\__/\__/\__/\__/\_ www.folksfun.com
Technical Details
Message-ID:
<opr7uyeayypmxkmr@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.esat.net!news.clara.net!wagner.news.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9143cde94826dba9,start X-Google-Attributes: gid10cc67,public Newsgroups: borland.public.cppbuilder.nativeapi Subject: What can I use instead of go through a List? From: PC Hua <home-AT-huaonline.DOT.com> Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 12 May 2004 09:04:48 +1000 Message-ID: <opr7uyeayypmxkmr@newsgroups.borland.com> User-Agent: Opera7.21/Win32 M2 build 3218 NNTP-Posting-Host: 203.194.21.162 X-Trace: newsgroups.borland.com 1084316687 203.194.21.162 (11 May 2004 16:04:47 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.esat.net!news.clara.net!wagner.news.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail