Read a header and then a binary file?
  Home FAQ Contact Sign in
comp.lang.fortran only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.fortran Profile…
 Up
Read a header and then a binary file?         


Author: badger
Date: Jul 23, 2008 03:40

Hi,

Im new to fortran and Im trying and (failing) to solve my little
problem. Any help would be much appreciated?!

Im trying to read a text header that I have appended to the top of a
binary file and then read the binary file

ie.

1
360
720
0
Blah blah blah

where blah is the start of the binary file.

I can't seem to work out how to read the binary part - i.e. skip over
the header bit. So far I have

PROGRAM read_binary
IMPLICIT NONE
Show full article (1.81Kb)
1 Comment
Re: Read a header and then a binary file?         


Author: Rich Townsend
Date: Jul 23, 2008 13:12

GaryScott wrote:
> On Jul 23, 8:44 am, badger gmail.com> wrote:
>> On 23 Jul, 08:08, m...@skyway.usask.ca wrote:
>>
>>
>>
>>
>>
>>> In a previous article, badger gmail.com> wrote:
>>>> Hi,
>>>> Im new to fortran and Im trying and (failing) to solve my little
>>>> problem. Any help would be much appreciated?!
>>>> Im trying to read a text header that I have appended to the top of a
>>>> binary file and then read the binary file
>>>> ie.
>>>> 1
>>>> 360
>>>> 720
>>>> 0
>>>> Blah blah blah ...
Show full article (3.78Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Create a meta name in HTML header filealt.html ·