Read binary file

This is a discussion on Read binary file within the C++ Programming forums, part of the General Programming Boards category; I have a problem in reading binary file.
When i count the number of record, it is correct.
But when ...

Read binary file

I have a problem in reading binary file.
When i count the number of record, it is correct.
But when i try to display the information of the file, the result is 1x0.
Hope someone can guide me. Thanks...

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<