Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Created by Taqui on 5/13/2017.
- //
- #include <iostream>
- #include <cstdlib>
- #include <string>
- #include "Item.h"
- using namespace std;
- #ifndef HASH_TABLE_PROJECT_HASH_H
- #define HASH_TABLE_PROJECT_HASH_H
- class Hash
- {
- private:
- static const int SIZE = 10;
- Item *hashArray[SIZE];
- public:
- Hash();
- int hashFunction(string);
- void addItem(string, string);
- void showBucket(int);
- void showBucketFromKey(string);
- void showHashTable();
- Item *searchItem(string);
- void deleteItem(string);
- };
- #endif //HASH_TABLE_PROJECT_HASH_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement