This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Read the unformatted binary data.
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: "hongyi.zhao" <hongyi dot zhao at gmail dot com>
- Cc: fortran <fortran at gcc dot gnu dot org>
- Date: Sun, 06 Jul 2008 11:43:16 +0200
- Subject: Re: Read the unformatted binary data.
- References: <200807061352034305790@gmail.com>
On Sun, 2008-07-06 at 13:52 +0800, hongyi.zhao wrote:
> Hi all,
>
> I've a unformatted binary file named Si.cst_esp which include the data as follows:
>
> ---------------
> 1 1 1 4.185302
This is *formatted* data. Unformatted data has a binary representation
that is not directly readable by eye.
You'll need formatted I/O to access this.
For general Fortran-related questions, the Usenet newsgroup
comp.lang.fortran is probably better.