URGENT: How do I use something like a hash_map/hash_table
Posted on 2003-10-28
I need to use something like a hash_table to do the following:
I have custom defined structs that store about users. As I loop through a ton of data, I need to update those structs frequently, accessing them by their e-mail address (keys) and changing fields in the custom structs.
I then need to loop through every key, struct pair, and spit the data into a xml file. What can I use to do this type of hashing? STL hash_map don't seem to be working for me, and I can't find any good documentation.