Solved

HashTable n Sample

Posted on 2004-08-04
7
1,388 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

706 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now