C++ code analysis tools

后端 未结 8 2064
误落风尘
误落风尘 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:15

    Enable maximum compiler warnings (that's the -Wall option if you're using the Gnu compiler).

    'Lint' is the archetypical static analysis tool.

    valgrind is a good run-time analyzer.

提交回复
热议问题