Need simple hash function

This is a discussion on Need simple hash function within the C++ Programming forums, part of the General Programming Boards category; I'm writing a hashtable class in C++, and I just need a simple hash function. It won't be used to ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    4

    Need simple hash function

    I'm writing a hashtable class in C++, and I just need a simple hash function. It won't be used to hash anything longer than a string. It doesn't have to be a secure hash, just fast and light.

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,810
    Woop?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 10-17-2006, 09:54 AM
  2. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-30-2005, 12:21 AM
  3. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM
  4. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 07:18 AM
  5. qt help
    By Unregistered in forum Linux Programming
    Replies: 1
    Last Post: 04-20-2002, 10:51 AM

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