Group: comp.lang.fortran · Group Profile · Search for Printmatrix in comp.lang.fortran
Author: Carramba
Date: May 25, 2007 12:04
... print/Write routine... I'm trying to print a matrix but I can't even get the row to print on the same line.. my code result on a one long column.. PROGRAM printMatrix real, dimension(16,16) :: a integer i,j open(unit=12,file="a.data") read(12,*) a do i= 1,16 do j=1,16 print *, a(j) end do ...
|