I don\'t know how to use the hash function in C++, but I know that we can use hash_map. Does g++ support that by simply including #include
hash_map
#include
Wikipedia never lets down:
http://en.wikipedia.org/wiki/Hash_map_(C%2B%2B)