I have a large Fortran progrqm and I want to build the executable routine with a c++ program output module, how canthis be accomplished? Sid Kraft
C++ Link
I've done quite a bit of mixed-mode using FTN95. I'm not sure what you are referring to as 'C++ output module'.
Do you mean that all output from FTN95 program units uses the C++ pre-defined units?
A bit more detail would be most helpful.
I have 'C' routines that I call from Fortran (some then call 'C++' routines), and, although I have not yet needed to, it is certainly possible to call FTN95 from 'C' or 'C++'.
For a Win32 application, calling C/C++ from FTN95 is described in the help manual (FTN95.chm) under Win32 platform->Mixed language programming->Calling FTN95 from C/C++.
In principle you can do the same for an x64 application but in this case the C++ compiler (SCC) has some limitations, is not supported and does not currently have debugging options.
As a general rule, you should only use mixed language programming if you need to perform some task that is not possible in Fortran.