I\'m trying to write a wrapper to use the gsl library with Fortran. I have managed to get a simple wrapper to work - the example from http://www.helsinki.fi/~fyl_tlpk/luento/ohj-13-GSL-e.html
------ main.c--------- #include <stdio.h> #include <stdlib.h> #include <dlfcn.h> #include <string.h>
In fortran you can declare an array with any suitable (integral) range, for example: real* 8 array(-10:10)
Does anyone know of an way to sleep for a given nu开发者_开发百科mber of milliseconds in Fortran?I do not want to use non-portable system calls so anything intrinsic to Fortran or C libraries would be
i am looking for a way, how i can integrate a c++ code with fortran code (i want simply call some C/C++ functions in the fortran code).
Is it possible to pass fo开发者_如何学JAVArtran 77 function as a callback function pointer to C/C++?
最近有不同的话题,相信很多朋友都很感兴趣,因为最近这个话题也很热门。既然大家都想了解不同的话题,我也在网上收集了一些与不同话题相关的信息,让我们分享给大家,以便更好地了解。