#include #include static const int num_primes = 25; static const unsigned long prime_list[] = { 53, 97, 193, 389, 769, 1543, 3079, 6151, 12289, 24593, 49157, 98317, 196613, 393241, 786433, 1572869, 3145739, 6291469, 12582917, 25165843, 50331653, 100663319, 201326611, 402653189, 805306457 }; size_t hash(char const* str,int mult) { size_t h = 0; for (; *str; ++str) { h = mult * h + *str; } return h ; } int main(int argc, char *argv[]) { cout << " Ken Moore tester for hash concepts... "<< endl<> xyz; return 0; }