C++ code analysis tools

后端 未结 8 2079
误落风尘
误落风尘 2021-02-06 07:49

I\'m currently in the process of learning C++, and because I\'m still learning, I keep making mistakes.
With a language as permissive as C++, it often takes a long time to f

8条回答
  •  爱一瞬间的悲伤
    2021-02-06 08:22

    lint - there are lots of versions but if you google for lint you should find one that works. The other thing to do is turn on your compiler warnings - if you are using gcc/g++ the option is -Wall.

    You might find CppChecker helpful as a plugin for Eclipse that supports gcc/PC lint.

提交回复
热议问题