Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!np1.iij.ad.jp!nf0.iij.ad.jp!nr0.iij.ad.jp!news.iij.ad.jp!natop!inforest!rosso!nttmfs.nslab.ntt.co.jp!eclnews!news.chiba-u.ac.jp!chiba-ns!hagi!is.tsukuba.ac.jp!yellow
From: yellow@ecopolis.sk.tsukuba.ac.jp (TERAMOTO Ikuhiro)
Subject: Re: [Q] about a format of fscanf statement for FORTRAN data
References: <mori-2104971946380001@senna.abiko.denken.or.jp>
Date: Mon, 21 Apr 1997 15:18:00 GMT
Nntp-Posting-Host: ecopolis.sk.tsukuba.ac.jp
X-Newsreader: mnews [version 1.20] 1996-12/08(Sun)
Organization: Urban Policy Science LAB. Univ. of Tsukuba
Sender: news@is.tsukuba.ac.jp (News Manager)
X-Forwarded: by - (DeleGate/3.0.48)
Message-ID: <1997Apr21.151800.18814@is.tsukuba.ac.jp>
Lines: 24
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:3945
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=3945&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B;{85$H?=$9$b$N$G$9!#(B

<mori-2104971946380001@senna.abiko.denken.or.jp>$B$N5-;v$K$*$$$F(B
mori@criepi.denken.or.jp$B$5$s$O=q$-$^$7$?!#(B
($BCfN,(B)
>> FORTRAN$B$G=PNO$5$l$?;X?t7A<0!$Nc$($P(B
>> format(e15.7)
>> $B$H$$$&=q<0$G=PNO$5$l$?%U%!%$%k$r(BC$B$GFI$`J}K!$r$4B8$8$G$7$?$i(B
>> $B65$($F$/$@$5$$!%(B
>> $B;X?tItJ,$,(BFORTRAN$B$H(BC$B$G0[$J$k$N$G(B
>> fscanf(fio,"%15.7e",x);
>> $B$H$7$F$bFI$a$J$$$N$G:$$C$F$$$^$9!%(B

  double x;
  ...
  fscanf(fio,"%lf",&x);

  $B$G!"%@%a$G$9$+!)$9$/$J$/$H$b!"%&%A(B(Solaris 2.5.1 +
gcc 2.7.2.2)$B$G%3%s%Q%$%k$7$?$H$3$m!"$3$l$GBg>fIW$G$7$?!#(B

--
   /(_o_)\      $B;{850jGn(B(TERAMOTO,Ikuhiro)
  $B$5$+$5$E$j(B    mailto:yellow@ecopolis.sk.tsukuba.ac.jp
 http://ecopolis.sk.tsukuba.ac.jp/~yellow/index_j.html
