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 Mike Lewis 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. cjkogan111

    File length

    Hello, Lets say that I have a file - 5 4 3 9 2 4 2 5 3 2 1 1 And I am reading in variables a,b,c. Does anyone know how I determine the # of lines in the file before I read it in? Thanks! -cjkogan111
  2. cjkogan111

    Reading Columnar Data

    Figured it out... READ(8,*) (a(i), b(i), i=1,3)
  3. cjkogan111

    Reading Columnar Data

    Hello, I have a somewhat amateur question about fortran 95... I was wondering if anyone knew a good method of reading columnar files - with each column going into a vector. For example I might have the following file: 1.0 4.0 2.5 3.3 3.5 8.0 1.0 2.0 2.1 5.0 2.0 5.4 What I would...
  4. cjkogan111

    Fortran in Windows

    Thanks guys, The ./ did the trick, cjkogan111
  5. cjkogan111

    Fortran in Windows

    Hello, I downloaded gfortran (95) - mingw/native windows onto a windows XP OS. I am trying to open a file outside of the default directory (bin) I have tried the following methods: OPEN(8,file='test\a.txt',status='old') OPEN(8,file='c:\Program Files\gfortran\bin\test\a.txt',status='old') For...

Part and Inventory Search

Back
Top