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