General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Conversion of Fortran code to C/C++
process, we are dealing with the mixed programming of Fortran90/95, C and
C++. In this connection, we have following queries/problems:
1. Can we access C++ member functions from Fortran code through objects? If
yes, what is the procedure?
2. How to access dynamically allocatable global data (variables, such as
ALLOCATABLE Arrays), declared in Fortran, from C++? Currently we are using
COMMON Blocks to access variables from C++, but COMMON Block does not allow
the ALLOCATABLE Arrays to be declared inside it.
We are using Intel FORTRAN Compiler 6.01 (IA32) and VC++ compiler.