How do I convert Fortran programs to C++ | Sololearn: Learn to code for FREE!

+2

How do I convert Fortran programs to C++

c++

11/12/2017 4:44:32 PM

Lamp

3 Answers

New Answer

+2

Everything Fortran has a C++ equivalent. If you can read the Fortran and program in C++, it is a simple matter. Personally, I would replace goto statements with loops. But, you don't need to.

+2

all automatic approaches I read from, are mostly from Fortran to C. also they meanly can't have handle the new standards (77<) so you have to do what John said, do it yourself, afaik

+1

I found something new, you maby interested https://en.m.wikibooks.org/wiki/ROSE_Compiler_Framework/How_to_create_a_cross-language_translator