Tools: cppcheck-1.65-x86-Setup.msi
Common commands:
cppcheck --enable=all D:\test 2> v9_check.txt
cppcheck D:\test 2> v9_err.txt
cppcheck D:\test
step:
1, cmd to open
2, into the cppcheck-1.65-x86-Setup.msi installation directory,
For example: cd C: \ Program Files (x86) \ Cppcheck
3, and then enter the item code of judgment
code path cppcheck
For example: cppcheck D: \ test
4, copy all the contents in the cmd, and then search for "error" place to correct