// Oldham, Jeffrey D. // 2000 Jan 29 // CS1321 #include #include // has string #include // has hash table hash_map hm; // create the hash table // code for storing values in the hash table omitted hash_map::const_iterator pos = hm.find("bonjour"); // try to find "bonjour" if (pos == hm.end()) cout << "bonjour not in the hash table\n"; else cout << "bonjour's int is " << *pos << ".\n"; cout << "The hash table has " << hm.size() << " elements.\n";