Posted on 2000-04-11
Hi. As part of a class project of Data Structures in C++ I have to do a final project. It consist of making a search engine in C++ using at least two of the structures learned in class. The idea I have of the search engine is to let the user choose between two types of search. (the search engine is of restaurants). The person should be able to choose between search by restaurant name and search by location of it. The search by location of restaurant is gonna be done using a list. There would be a Record of the restaurants. It would look something like this:
type of food
next would be a pointer to the next record of the corresponding town. The list will have a series of towns like:
Each town should have pointers to their town restaurant's records. The result that is gonna be presented for the search is all the restaurants name with their type of food, its address..etc., of that town.
The search by restaurant name is gonna be made using a hash table that would have a pointer to the record of only that particular restaurant. the resutls that would appear in the html page would be the restaurant name, its address and type of food.
Like i said at the beggining my knowledge is limited to that class and some HTML. I need to find out as fast as possible how to make this work on a webpage. I need advice and help. Not that someone do the job for me. The structs that are mentioned here are being made. But i need to set up all the other details before May 8. Me passing the class depends on this.Any help as far as how do I make it work on the page, cuz that I have no idea, a book I can buy to learn this fast and any recommendations on the things explained would be greatly appreciated.