title: How to use CppCheck tool to review your c / cpp code in ubuntu?
body: <p>I am trying to use the <code>CppCheck</code> tool in Ubuntu. I ran the following command</p>
  
  <pre><code>cppcheck --enable=all  --check-config --suppress=missingIncludeSystem main.c 2&gt;err.txt
  </code></pre>
  
  <p>It is creating the <code>err.txt</code> file but it is empty. </p>
  
  <p>How to get the ratings or check the code in the <code>main.c</code> file.</p>