code抛光/ reformater为C,C ++或Fortran语言 [英] Code polisher / reformater for C, C++ or Fortran
问题描述
假设你有一堆用C,C ++或Fortran语言的文件,通过与格式化不同意见,如何评论(...)等不同的作者。我想很多人都知道这样的情形。
suppose you have got a bunch of files written in C, C++ or Fortran, by different authors with different opinions on formating, how to comment (...) and so on. I think many people know situations like these.
有没有免费的工具,像两端:
Are there any free tools for ends like:
- code的统一格式(缩进等)
- 创建标准注释机构
- 重新命名变量
谢谢,
morgennebel
Thanks, morgennebel
推荐答案
有关的Fortran有plusFORT,它可以做的比你要的是什么,比如重组code和翻译从FORTRAN 77到Fortran 90的多得多。请参见 http://www.polyhedron.com/pf-plusfort0html 并的 http://www.polyhedron.com/pflinux0html
For Fortran there is plusFORT, which can do much more than what you ask for, such as reorganizing code and translating from FORTRAN 77 to Fortran 90. See http://www.polyhedron.com/pf-plusfort0html and http://www.polyhedron.com/pflinux0html
这篇关于code抛光/ reformater为C,C ++或Fortran语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!