How do I convert Fortran programs to C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do I convert Fortran programs to C++

12th Nov 2017, 4:44 PM
Lamp
3 Answers
+ 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.
12th Nov 2017, 5:16 PM
John Wells
John Wells - avatar
+ 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
12th Nov 2017, 5:23 PM
Gunther Strauss
Gunther Strauss - avatar
15th Nov 2017, 8:17 AM
Gunther Strauss
Gunther Strauss - avatar