PDA

View Full Version : Hashtables


complete
08-12-08, 05:35 AM
Has anyone written code for a hash table?

The Hash table classes are not part of the standard STL. This causes some difficulty that I think can best be overcome by getting advice from someone who has been down this path.

The hash table library can be gotten from one of three sources:

http://gcc.gnu.org/libstdc++/
http://www.sgi.com/Technology/STL
http://www.boost.org/

But no instruction is given on how to merge the code with the header files I already have.

I have tried first copying the code into my include directory. That caused some compile issues. Then I tried merging the code. That seemed to not work either.

Amro
08-13-08, 04:52 PM
Yes, I've written hashtables before. I'm not sure I understand your question though -- how to use one the ones you've listed?