对不起,菜鸟从中间起步,不懂的太多,求教: 读取csv格式文件,并进行计算,最后输出CSV格式文件,但是输出数据为0,应该是读取数据 的问题,但是我不知道怎么改, 数据如图: 数据共48 ...
01
program
main
02
implicit
none
03
integer
i
,
j
04
::
k
05
b
c
06
real
a
(
48
11
)
07
l
m
n
o
p
q
r_fm
s_at
t
08
open
12
file
=
"/home/iga_qtong/fortran_xcao/farm/farm_fm.csv"
09
13
"/home/iga_qtong/fortran_xcao/farm/farmout.csv"
10
! read(12,*) a(i,j)
read
*
1
do
iostat
14
if
/=
0
exit
15
16
17
2
3
18
4
19
/
5
20
6
21
7
8
22
9
23
24
25
+
26
write
','
27
&
28
end
29
30
31
close
32
33
捐赠本站|Archiver|关于我们 About Us|小黑屋|Fcode ( 京ICP备18005632-2号 )
GMT+8, 2025-5-6 13:02
Powered by Discuz! X3.4
© 2013-2025 Comsenz Inc.