DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: hashmap

  1. #1
    Join Date
    Nov 2005


    does stl provide for a hastable along with its standard hash map ?? whats the difference between the 2 ...read some place that hash map's just the concept bu hash table is its implementation ...could i find the implementation of the hash map somewhere ??? kindly reply ASAP :WAVE:

  2. #2
    Join Date
    Nov 2003
    C++98 STL (i.e., the current C++ standard implemented by ISO compliant compilers) doesn't have any hashed container officially, although many compilers have added vendor specific hashed containers as a non-standard extension. The problem is that these containers aren't standard so each compiler implements them differently (or doesn't implement them at all). This babel is going to be resolved soon because TR1 (a list of library extensions for standard C++) adds unordered containers which are roughly the same thing, only better. There are unordered_map, unordered_multimap, unordered_set and unordered_multiset. There's no hashed list but I believe that the set containers or maps could work for you.
    Danny Kalev

Similar Threads

  1. getting Employee Object out of HashMap
    By fischen in forum Java
    Replies: 7
    Last Post: 12-27-2005, 07:37 PM
  2. Hash tables with list or Vectors
    By Nithila in forum Java
    Replies: 3
    Last Post: 11-11-2005, 01:29 PM
  3. hash map
    By ravinder in forum Java
    Replies: 2
    Last Post: 09-28-2005, 12:52 AM
  4. Advanced WordCounter help
    By jarvio678 in forum Java
    Replies: 11
    Last Post: 08-12-2005, 04:49 AM
  5. Serialize HashMap?
    By Tim Cornwell in forum Java
    Replies: 2
    Last Post: 04-24-2002, 01:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center