This page gives some of the useful tricks to know when combining C and Fortran.
"
Why bother?" you may ask.
Both languages have nice features that can be profitably exploited.
Standard C provides low-level control over many operations.
Fortran is optimized for numeric calculation and there is a large
collection of numeric libraries already
available.
These pages only use Fortran77, which is still the predominant Fortran
standard (and a subset of Fortran90).
When a GNU g90, or some freely available, compiler becomes available
then I will add more Fortran90 information.
Also these pages use Standard C, which is a subset of "standard"
C++, since Fortran is not object-oriented.