User Tools

Site Tools


fortran

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fortran [2010/03/22 11:00]
zdech
fortran [2011/02/18 13:13] (current)
Line 1: Line 1:
 +**manual svn** [[http://​svnbook.red-bean.com/​en/​1.1/​ch03s05.html]]
 +
 +
 +
 ====== Pointers on functions and subroutines in Fortran ====== ====== Pointers on functions and subroutines in Fortran ======
  
-=== It works with both ifort and gfortran-4.4 ===+=== It works with both ifort 10 and gfortran-4.4 ===
  
 ===== example 1: main.f90 ===== ===== example 1: main.f90 =====
Line 70: Line 74:
  
 ==== output ==== ==== output ====
- 
   zdenka@pc209:​~/​simulations/​fireball/​ptr_func$ ifort -c main.f90 -o main.o;​ifort main.o -o test;./test   zdenka@pc209:​~/​simulations/​fireball/​ptr_func$ ifort -c main.f90 -o main.o;​ifort main.o -o test;./test
   Ahoj           ​1 ​  ​1.000000 ​   ​   Ahoj           ​1 ​  ​1.000000 ​   ​
fortran.1269252034.txt.gz ยท Last modified: 2011/02/18 13:14 (external edit)