Conversion of Fortran 77 code to C++

前端 未结 6 1330
谎友^
谎友^ 2020-12-14 10:41

Has anyone converted a large (ours is 550,000 lines) program of Fortran 77 code to C++ ? What pitfalls did you run into ? Was the conversion a success ? Did you use a too

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-14 10:51

    You might want to look into Promula. It produces more readable C code than many other automatic translators. I haven't used Promula directly, but I've converted a fair amount of Promula output from C to C++. It's easy to clean up the C code to legal C++, but of course it takes more effort to make it really good C++.

提交回复
热议问题