| | |
C++ Hashing functions?
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Can someone plz give me the C++ code for the following:
(1) linear probing
(2) separate chaining
(3) quadratic probing
(4) double hashing
I know the theory behind it but i dont seem to be able to put it into code!
plz help me
P/S: im not asking you to spoon feed me with code but im really not able to figure out how to write these functions....
(1) linear probing
(2) separate chaining
(3) quadratic probing
(4) double hashing
I know the theory behind it but i dont seem to be able to put it into code!
plz help me
P/S: im not asking you to spoon feed me with code but im really not able to figure out how to write these functions....
>I know the theory behind it but i dont seem to be able to put it into code!
Then you don't really know the theory behind it.
Not to be rude or anything, but these are all pretty straightforward concepts and the code ends up being very short compared to other data structures. This might help you get a feel for how things work in practice.
Then you don't really know the theory behind it.
Not to be rude or anything, but these are all pretty straightforward concepts and the code ends up being very short compared to other data structures. This might help you get a feel for how things work in practice. ![]() |
Similar Threads
- Hashing guidance (C)
- VB's Left, Right, Mid Functions in C++? (C++)
- User defined functions (C++)
- Double Linked Lists and Functions required (C++)
- How to write FNVAL functions (Java)
- I dont see any difference between these 2 functions, DO YOU? (C)
- access Digital Camera Functions (C++)
Other Threads in the C++ Forum
- Previous Thread: Help
- Next Thread: Move file pointer to read next file value
| Thread Tools | Search this Thread |
api application array arrays beginner binary bitmap c++ c/c++ calculator char class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game generator getline google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive return string strings struct template templates test text text-file tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





