Hashtables

For this lab you will complete the functions in the Hash_stu.cpp file
complete the menu driven main to call all of the corresponding functions defined in Hash.h

compare your output the the runable example, they should be identical for all the provided testfiles


You will be able to use these with your hash homework

File: Hash_stu.cpp 

#include "Hash.h"



// Calculates the primary key using modulo arithmetic

// Primary key will be in the range 0 to MAX_CAPACITY - 1

int HashTable::hash1(int value)


// for the 2nd hash we want to have an alternate method of calculating a hash

// MAX_CAPACITY - ( value % MAX_CAPACITY)

int HashTable::hash2(int value)



// create a string representation of the HashTable class

// make sure your output from the ToString function matches the example

// before AND AFTER you delete some items

string HashTable::ToString()