Need help with string hash function

This is a discussion on Need help with string hash function within the C Programming forums, part of the General Programming Boards category; Need some suggestions on how to effectively create a string hash function that will give me very little collisions. My ...

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    18

    Need help with string hash function

    Need some suggestions on how to effectively create a string hash function that will give me very little collisions. My hash needs to read in 5 letter words, all lower case and no alpha numeric mix. Any ideas? Thanks!

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Last edited by Dave_Sinkula; 04-21-2006 at 10:25 PM.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. Inheritance Hierarchy for a Package class
    By twickre in forum C++ Programming
    Replies: 7
    Last Post: 12-08-2007, 03:13 PM
  3. String Class
    By BKurosawa in forum C++ Programming
    Replies: 117
    Last Post: 08-09-2007, 01:02 AM
  4. String issues
    By The_professor in forum C++ Programming
    Replies: 7
    Last Post: 06-12-2007, 09:11 AM
  5. qt help
    By Unregistered in forum Linux Programming
    Replies: 1
    Last Post: 04-20-2002, 09:51 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21