I want to use HASH function for a simple prg,
How to use hash function pls help me.
pls give me a eg. prg also.
Thanks
What exactly is a HASH function?? I dont know..
Is it the preprocessor directive you are talking about??
Well as far as I know # is used to include header files or to define macros in your program.. Apart from that, i doubt if its used anywhere else...
eg, #include "stdio.h"; #define SUM 23; #pragma inline; #if......
Is it the preprocessor directive you are talking about??
Well as far as I know # is used to include header files or to define macros in your program.. Apart from that, i doubt if its used anywhere else...
eg, #include "stdio.h"; #define SUM 23; #pragma inline; #if......
Regrads
CyberKing
By using Hash function we can turn our data into suitable number.
i also dont know much about this, but i have some data which has to be
converted to some no. by using hash function.
I want to use HASH function for a simple prg,
How to use hash function pls help me.
pls give me a eg. prg also.
Thanks
the C++ STL has class Map which has similar functionally to a hash table
http://www.cppreferenc e.com/cppmap/index.html
http://www.cprogrammin g.com/tutorial/stl/stlmap.html
Comment