Program Main
Implicit None
Integer :: a,b,c,d,e,f
Integer :: i
Open(12,File="E:\20180103.txt")
read(12,*)
read(12,*) a,b,c
write(*,*) a,b,c
Close(12)
End Program Main
Transpose 发表于 2020-1-27 18:31
文件的绝对路径正确吗?读写文件的时候,要么文件和代码在一个文件夹里,要么要指定绝对路径 ...
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |