Tuesday, July 17, 2007

Fortran and C/C++ interaction

To develop a C++-based program with the support of built Fortran library, the mixed language programming is the essential part. It had been a frustrated process for me to figure this out. Here are some very important documents for the interaction between Fortran and C++ with the usage of visual Fortran and visual C++.
  1. A introductory website
  2. The MSDN mixed-language programming page
  3. Some tips: some of them are not quite right but it is still worthwhile to consult with.
  4. The most important: the table to see which library and settings has to be done in visual studio. It is also briefly shown here in Table 1 and Table 2
Table 1: The library combination for Visual Studio (both Visual Fortran and Visual C++)


Table 2

No comments: