Hi folks,


Can I insert multiple entries into a single bucket in a hashtable. It ll look somethin like this

Key Hash value Bucket
Browser B Browser->Search
Brawn->F1 Car
Bread->Wheat dish
.
.
Cat C Cat->Animal
C++->Language
Please help me

Recommended Answers

All 2 Replies

Member Avatar for jencas

Try std::hash_multimap or boost::hash_multimap

Try std::hash_multimap or boost::hash_multimap

thanks buddy

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.