Solved

HashTable n Sample

Posted on 2004-08-04
7
1,401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

752 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