title: CodeBlocks error in graphics library
body: <p>I executed the following code in codeblocks IDE-</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;graphics.h&gt;
  using namespace std;
  
  int main()
  {
      int gd = DETECT, gm;
      initgraph(&amp;gd, &amp;gm, "C:\TC\BGI");
      line(100, 200, 150, 250);
      cout &lt;&lt; "Hello world!" &lt;&lt; endl;
  
      return 0;
  }
  </code></pre>
  
  <p>and while debugging my code stopped at this point in graphics.h</p>
  
  <pre><code>int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX,
  </code></pre>
  
  <p>I have included the WinBGIm library.</p>