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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.