HashTable n Sample

Hi Experts,

      I'm searching for a Hash map that can be used for an efficient instant dictionary program. Plz suggest an efficent class and the use of that class...


Rosh :)
LVL 23
Roshan DavisAsked:
Who is Participating?
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
SGI STL implement hash_map functionalit. Look at:
http://www.sgi.com/tech/stl/table_of_contents.html
0
 
Jaime OlivaresSoftware ArchitectCommented:
If you work in Windows environment you can use MFC map objects:
CMapStringToString
CMapStringToPtr
0
 
Roshan DavisAuthor Commented:
is there any STL type hash_map or something?
and any Samples?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Jaime OlivaresSoftware ArchitectCommented:
although you can replace all your stl library with SGI STL, you can download library and choose desired objects.
0
 
AxterCommented:
What compiler are you using?

VC++ 7.1 and GNU 3.x both have hash_map class.
0
 
Roshan DavisAuthor Commented:
VC++ 6
0
 
AxterConnect With a Mentor Commented:
VC++ 6.0 does not come with a hash_map class.

In addition to SGI STL, you can also check out http://www.stlport.com for a cross-platform STL implementation.
The STLPort  hash_map class is suppose to be a better implementation.
0
All Courses

From novice to tech pro — start learning today.