Sorry to do this but I had reached out to a colleague and he'd pointed out that my newHashTable function had a flaw that was making my hash table matrices be of array size int instead of array size...
Type: Posts; User: JMerritt
Sorry to do this but I had reached out to a colleague and he'd pointed out that my newHashTable function had a flaw that was making my hash table matrices be of array size int instead of array size...
I attempted your first suggestion and unfortunately it yielded much of the same results. omitting put(Hash, tempElm) will get all of the team names but will not insert those names into the hashTable....
Ah, it was because I was attempting to get the carriage return character at the end of the lines of my input file. I've since updated the declaration to be as such:
i= 0;
while(nextLine[i] !=...
Hello all, recently I've been working on a HashTable data structure and have attempted to make it work for a project. Currently, I am encountering an infinite loop when I make it about two lines deep...