Explore BrainMass

HashTable search

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

I have a book search program that requires us to read in data from a file into our program and search by title, author, or ISBN. I need help getting the data from the data file to work correctly with the program. Please see the attached documents.

© BrainMass Inc. brainmass.com October 25, 2018, 9:07 am ad1c9bdddf


Solution Summary

Code to read file containing books' ISBN, author and title and search any book from the list using ISBN or author or title.

See Also This Related BrainMass Solution

C++ Hash Tables: Book Search Program

Using hashing , we have to have a program that does the following. It will allow a user to search for books using the ISBN, book title, or author search key. The proper implementation would be to store the actual data in a list, and use separate hash tables for each search key. The value associated with each key is not the book itself, but just the position of the book in the long list of books. We are to assume that there are no duplicates in the search keys.

View Full Posting Details