code format using astyle

script context : #! /bin/bash for f in $(find . -name '*.c' -or -name '*.cpp' -or -name '*.h' -type f) do astyle --style=kr --indent=tab -p -P -k1 $f done # after formate the code,we need to rm '*.ori
相关文章
相关标签/搜索