read data from binary file
Posted on 2011-04-25
I'm very beginner if we talk about C++.
I will to know how read data from binary file from specifically position.
I was trying:
and when data are in memory how can I get double data array from it?
Let say I need to read some information from the binary file.
I know that this information saved as double and starts from byte number 10.
How to do that?
I know that i VB it is like this:
Dim a as double
Dim IndF As Integer = FreeFile()
FileOpen(IndF, OpenFilePath, OpenMode.Binary, OpenAccess.Read)
FileGet(IndF, a, 10)
I hope it is very easy question.