title: Header files in dev-C++
body: <p>I'm trying to add an header file to dev-C++ but when I compile it it doesn't work.
  Here are my exact steps (for my example, I'm trying to get mysql.h to work):</p>
  
  <ol>
  <li>copy "mysql.h" into c:\dev-c++\includes</li>
  <li>check that in dev-C++ tools > compiler options > directories > c includes and c++ includes have the path to "c:\dev-c++\includes"</li>
  <li>include #include  at the top of my file</li>
  <li>compiled</li>
  </ol>
  
  <p>This is what the dev-C++ compiler told me:</p>
  
  <pre><code>13 C:\Documents and Settings\Steve\Desktop\server code\setup1\main.c `mysql' undeclared (first use in this function) 
  </code></pre>
  
  <p>As well as other errors due to not locating the header file</p>
  
  <p>Are the steps I've outlined correct? Or is there something else I need to do to get the header files to compile.</p>
  
  <p>P.S. I tried doing the same with VS2008 (put mysql.h in the vs2008 include folder, etc)
  but still have the same error.  I would like to stick with Dev-c++ if possible.</p>