大师兄,我又来了
[Fortran] 纯文本查看 复制代码 program test3
implicit none
dimension a(3,3)
integer a
!a=(/(/5,7,6/),(/5,3,7/),(/6,2,0/)/)
a=(/5,7,6,5,3,7,6,2,0/)
write(*,*)a
read(*,*)
end program test3
怎么老是提醒我错误呢,按照彭国伦先生的书来的啊
错误提示:错误 1 error #6366: The shapes of the array expressions do not conform. [A] E:\\test\test\test.f90
|