Lab 6
Warning
To compile you should use a CMakeLists.txt. It takes sometimes to get use to it, but it makes the compilation much easier.
Hash Table - Double Hashing
In this part, try to implement the double Hashing hash table.
Test on a Database
Now you will apply these Hash Tables on a small database of employees.
Download the csv files containing information on employees
csv files
.Download the class
Employee
Employee.h
Create a function
void parseLine(string &line, string &id, string &salary, string &seniority)
that reads the csv file line by line.Load the file in each hash table, count the number of collision if there are any.
Access different employees.