I am having an issue with a segmentation fault and I am pretty sure it occurs when I attempt to read in the .txt file. It is a family large file and I'm not sure how to fix this issue. I currently can't run a debugger but I am almost positive the program never enters this do while loop. Any suggestions?
> I am almost positive the program never enters this do while loop
If you don't enter the loop, then the problem is not in the reading.
However, it's a do-while loop, so it must be executed at least once.
Your reading is incorrect, in line 46 you process an student with data that may be invalid because you reached eof on line 44.
Try adding cout << "test1\n" after line 32 and cout << "test2\n" after line 34. If you're positive it never enters the do-while loop but you still get a segmentation fault error, then the problem is most likely with line 32, and therefore with "HashTable.h" which you have not included.