31 lines
394 B
Plaintext
31 lines
394 B
Plaintext
|
=========
|
||
|
C++ check
|
||
|
=========
|
||
|
|
||
|
|
||
|
Compiling
|
||
|
|
||
|
Any C++ compiler should work.
|
||
|
There are no dependencies.
|
||
|
|
||
|
Linux:
|
||
|
g++ -o cppcheck cppcheck.cpp
|
||
|
|
||
|
Windows:
|
||
|
gxx -o cppcheck cppcheck.cpp
|
||
|
|
||
|
|
||
|
|
||
|
Usage
|
||
|
|
||
|
Just type:
|
||
|
cppcheck filename.cpp
|
||
|
|
||
|
The error messages will be printed to stderr.
|
||
|
|
||
|
|
||
|
Recommendations
|
||
|
|
||
|
Create a shell script that checks all files.
|
||
|
|