I need help. I'm still getting an endless loop here when reading from a binary file. The data is in the file ok. Any suggestions. I debugged, but it didn't help. This is just the read function. If you need to see the other parts of the program, please let me know.
I would have assumed from the function signature that Read reads one employee object from an already open file stream and returns (although returning something to indicate success or failure in that case would be good.)