Solved

HashTable n Sample

Posted on 2004-08-04
7
1,397 Views
Last Modified: 2012-06-27
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 :)
0
Comment
Question by:Roshan Davis
  • 3
  • 2
  • 2
7 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11723410
If you work in Windows environment you can use MFC map objects:
CMapStringToString
CMapStringToPtr
0
 
LVL 23

Author Comment

by:Roshan Davis
ID: 11723840
is there any STL type hash_map or something?
and any Samples?
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 250 total points
ID: 11723888
SGI STL implement hash_map functionalit. Look at:
http://www.sgi.com/tech/stl/table_of_contents.html
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11723895
although you can replace all your stl library with SGI STL, you can download library and choose desired objects.
0
 
LVL 30

Expert Comment

by:Axter
ID: 11724893
What compiler are you using?

VC++ 7.1 and GNU 3.x both have hash_map class.
0
 
LVL 23

Author Comment

by:Roshan Davis
ID: 11724909
VC++ 6
0
 
LVL 30

Assisted Solution

by:Axter
Axter earned 250 total points
ID: 11724944
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question