fortran文件读取与写入示例代码

代码语言:fortran

所属分类:其他

代码描述:fortran文件读取与写入示例代码

代码标签: 文件 读取 写入 示例

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

program main

 
implicit none  

 
! the variables
  integer stat
  character
(79) :: line

 
! this opens the input file
  open
(25, file='/data/wwwroot/default/Data/abc.txt', status='old', iostat=stat)


 
! this opens the o.........完整代码请登录后点击上方下载按钮下载查看

网友评论0