Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

input data file

mehmet_c_
Beginner
490 Views

i wanna input data which is txt or dat file. i dont do this. i saw a few example in internet but i dont this. 

in instance input data  file

1 25

2 33

3 37

4 45

how fortran can  read this data do you know, help me

0 Kudos
2 Replies
FortranFan
Honored Contributor III
490 Views

You're asking a very basic question that is covered in many books and also, many tutorials on the web.  I suggest you start with the Fortran Wiki page - http://fortranwiki.org/fortran/show/HomePage - which gives tons of useful information and links on all aspects of Fortran including file input and output.

0 Kudos
mehmet_c_
Beginner
490 Views

i know very basic question  otherwise i search but i didnt do

0 Kudos
Reply