// Unit 5: File I/O // - Determine hash size based on the number of records in the file // - Read data from the input file and insert them into the hash table and BST // - Save to file (in hash table sequence) // - Re-hashing // // Written by: Kevin Cremin #ifndef INC_08_TEAM_PROJECT_FIO_H #define INC_08_TEAM_PROJECT_FIO_H #include #include #include #include "CPU.h" #include "HashTable.h" #include "BinarySearchTree.h" using std::string; int findHashSize(const string& filename); void insertFile(const string& filename, BinarySearchTree &bst, HashTable &hash); void insertCPU(BinarySearchTree &bst, HashTable &hash); #endif //INC_08_TEAM_PROJECT_FIO_H