title: How to use Doxygen to document local variables within C++ functions
body: <p>For example, in my function</p>
  
  <pre><code>//starting code with doxygen documentation
  /** The main function. I will now try to document variables within this main function*/
  int main()
  {
   int arr[]; /** \brief an integer array*/
   .....
   return 0;
  }
  //end of code
  </code></pre>
  
  <p>However, when I use Doxygen with the "HIDE_IN_BODY_DOCS" variable set to "NO" in the configuration file, this does not perform specific documentation for this local variable. Rather, it just takes that bit and prints it along with the function documentation, as if it were any other comment line within the function</p>
  
  <p>How can I document such local variables using Doxygen?</p>