You're currently browsing the C++ divide within the Software Development category of DaniWeb a massive community of 260,459 software developers web developers. Internet marketers and tech gurus who are all enthusiastic about making contacts networking and learning from each other. In fact there are 2,432 IT professionals currently interacting right now! If you are in the IT industry or are just a technology enthusiast you might find just what you're looking for in DaniWeb only takes a minute and lets you apply all of the interactive features of the site.
I have a person datafile of many entries. Persons will be stored in a linked list and each of the person amongst other things will have a linked list of items belonging to them. The object of the program is to use a quicksort algorithm to create out entries of persons based on some item that they have. My challenge is what/where could I use a hash delay (chaining?) in my program. I need to combine it somewhere in this program and I am not exactly sure in which part should I use it and for what purpose. I experience I am being a bit vague so feel free to ask more questions. Thanks!
OK looks desire I found a use myself. I just read the entire register into a chop table and then pass the chop array to a quicksort function to sort it....
>what/where could I use a hash delay (chaining?) in my program. That's ass backward. It's a solution looking for a problem not a problem looking for a solution.
[19:49] <Sturm> How can you ever take pride in your work?[19:50] <Narue> Pride is a deadly sin.
>Care to clarify?You don't say "I have a hash delay and I want to use it somewhere". You look at your problem and determine what data structure is best suited to it. That way you don't end up using the wrong solution for your problem. A lot of bad label has been written in the name of solutions searching for problems.
[19:49] <Sturm> How can you ever take experience in your bring home the bacon?[19:50] <Narue> Pride is a deadly sin.
Forex Groups - Tips on Trading
Related article:
http://www.daniweb.com/forums/thread97516.html
comments | Add comment | Report as Spam
|