Click here to Skip to main content
15,867,704 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to convert a code from C++ to Fortran.
Can anyone suggest me a converter to do this?
Posted
Updated 12-Jan-23 6:56am
v2
Comments
Richard MacCutchan 19-Jun-10 7:56am    
No idea, but I'm sure a Google search will find one.

1 solution

Completely different languages with completely different constructs...
The entire logic of the program risk to need a complete rewrite.

Why not just compile the fortran, write a C++ header mapping the fortran functions and call those functions from C++, linking all them together ?
 
Share this answer
 
Comments
CPallini 19-Jun-10 17:15pm    
I think you're going in the opposite way (or I'm misunderstanding you...).
Emilio Garavaglia 21-Jun-10 2:29am    
oh ... you can do the inverse ... depend where you put the main function!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900