Hi everybody,
I need to calculate the hash code of a text file (in order to uniquely
identify a file)
My program has to run under Windows and under Unix (Solaris)
That's why I am looking for a Standard C++ function which would
calculate the hash value.
Does anyone knows if such a function exist ?
Under Windows, I looked in the STL and found the "hash_value(const char
*)" function but unfortunately, it returns the same value for strings
which have a few differences.
Please tell me if there is a standard and reliable C++ hash function.
If not, please send me a link or another forum where I can get the
answer.
Thanks in advance.