linux下编程用 编译软件

源代码在线查看: arrayio_7.f90

软件大小: 49607 K
上传用户: IsABC
关键词: linux 编程 编译 软件
下载地址: 免注册下载 普通下载 VIP

相关代码

				! { dg-do run }				! PR24224 Test formatted input/output to/from character arrays with strides				! other than 1.  Test that reading stops at the end of the current record.				! Contributed by Jerry DeLisle .				program arrayio_7				  character*4, dimension(8) :: abuf = (/"0123","4567","89AB","CDEF", &				                                        "0123","4567","89AB","CDEF"/)				  character*4, dimension(2,4) :: buf				  character*8 :: a				  equivalence (buf,abuf)				  read(buf(2, 1:3:2), '(a8)') a				  if (a.ne."4567") call abort()				end program arrayio_7							

相关资源