Mixing Compaq Visual Fortran 6 with Microsoft Visual C++ .NET

From: Mike Westerfield (MikeW50_at_aol.com)
Date: 04/27/04


Date: 26 Apr 2004 15:33:12 -0700

Hi folks,

I've been asked to provide a C++ GUI to an existing text based FORTRAN
program. I'm familiar with both languages, although I have never had
an occasion to mix them before.

I've seen postings in this group that indicate mixing Compaq Visual
FORTRAN 6 with Microsoft Visual C++ works well. I have a few specific
questions, though.

1. I have Compaq Visual FORTRAN 6.1, and need to get a copy of C++ for
the company I'm working for. Will Microsoft® Visual C++® .NET 2003
Standard Edition work well with Compaq Visual FORTRAN 6.1, or do I
need to drop back to Microsoft Visual C++ 6.0 or get the Professional
version of C++ .NET?

2. Will I be able to mix the languages, with appropriate headers, and
compile/link/run with a single step, even if changes have been made
both to FORTAN and C source, or will I need to build a FORTRAN library
and link it into the C++ program?

3. If I can mix the languages and compile in one step, can I also
debug, stepping from C++ into a FORTRAN subroutine?

4. Is there any particular reason to push for the Professional version
of C++ rather than the Standard edition?

Thanks,

Mike Westerfield



Relevant Pages

  • Re: Fortran now in the Great Language Shootout
    ... > representative of how Fortran compares to the other programming ... > languages than the current naive implementation in multiple languages. ...
    (comp.lang.fortran)
  • Re: what is the most suitable Linux platform for Programmers and software developers
    ... C, C++, Perl, Python, Lisp, and a bunch of other languages are supported ... There are FORTRAN compilers, but FORTRAN ... Look at the Linux ...
    (comp.os.linux.misc)
  • Re: Fortran bashing in the MATLAB newsgroup
    ... try to keep up with more modern languages. ... There is one sole reason for teaching Fortran ... I've got my own ideas about what modern Fortran is good for and why I ... As an example of item 1, if you're talking to C/C++ programmers, ...
    (comp.lang.fortran)
  • Re: Clearly, it is too late to fix c99 - C is dead
    ... operations on integers (some other languages supported this, ... > strict formatting rules. ... Cobol has an odd reliance on a strict ... FORTRAN did in the days it was all-caps; ...
    (comp.lang.c)
  • Re: IF DEAD, GOTO 10-3-39
    ... No one would do text parsing in FORTRAN given the choice. ... As having labels implies that they are going to be used (for dreaded goto statements), I'd have to say they have not survived, aside from being a dirty little secret that some languages have but you are never supposed to use. ... The fact is that general use of GOTOs is one of the most difficult programming constructs to trace and determine "programmer's intent", making debugging and long-term code maintenance very difficult. ...
    (rec.sport.football.college)