title: Issues in setting up cURL library linked with code::blocks GNU GCC Compiler
body: <p>I know it's a pretty childish question to ask and questions regarding this topic have been asked before. But being a beginner I just could not figure out why the compiler is unable to link the  header file with the program.
  Firstly I tried to copy both the header files and the library files in their respective mingw folders. But using both</p>
  
  <pre><code>    #include &lt;curl/curl.h&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>    #include &lt;curl.h&gt;
  </code></pre>
  
  <p>didn't work.</p>
  
  <p>Then I tried to copy the folder 'curl' (containing all the header files) into the same folder where my program existed.
  but again trying</p>
  
  <pre><code>     #include &lt;curl/curl.h&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>     #include "curl/curl.h"
  </code></pre>
  
  <p>didn't work. I'm running c++11. Also I have downloaded the latest version of win32 from cURL's website and even tried multiple versions of it, but they didn't work either.</p>
  
  <p>Yet more surprising is that curl is running on the command line, though it always give error while resolving host while I try to send an email through gmail.</p>
  
  <p>A basic step by step guide would be quite beneficial to help me setup curl library in my compiler. Please do keep in mind that I am a beginner and that's my first ever question on stackoverflow.</p>
  
  <p>Thanks in Advance!</p>