program test1
implicit none
integer,dimension(:,:),allocatable::a
allocate(a(2,2))
a(1,1)=3
a(1,2)=3
a(2,1)=3
a(2,2)=3
write(*,*)a
read(*,*)
end program test1
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