This took me ages to figure out, so I hope it's of use to someone.
Firstly, each compiler is different; I am using GNU gcc on Linux. A CHARACTER variable, like any other, is passed between Fortran functions by reference, i.e. the calling C/C++ function should pass a char*.
Now Fortran uses a...
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.