Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. classic35mm

    Formatting WRITE output in Fortran

    Hi, I am new to Fortran. I would like to be able to construct and print a two-dimensional array. For example, I wrote the following code: PROGRAM myarray IMPLICIT NONE INTEGER :: i, j, k INTEGER, DIMENSION(3,4) :: a k=1 DO i=1,3 DO j=1,4 a(i,j)=k k=k+1 END DO...
  2. classic35mm

    Reading an array from a text file in Fortran 90

    @FJacq: Thank you so very much!
  3. classic35mm

    Reading an array from a text file in Fortran 90

    Hi, I would like to read an array from a text file. I have created a text file (which I called data.txt) containing the following text: 1 2 3 4 5 6 7 8 9 10 11 12 I would like to read this in as an array, "row-wise." I have created a Fortran 90 file (which I called myread2.f90) containing...

Part and Inventory Search

Back
Top