I am working with binary file in c++. I can write in the file but when i displaying the file content on the screen than the last record is displaying two times. Plz anyone tell me what is the problem.