title: Redefinition of int right error using winbgim library
body: <p>I have a problem with making a program that uses winbgim.h header file. It is a simple program that makes just one simple circle. I am currently learning about winbgim and graphics.h libraries. I downloaded it, I downloaded the library and included it in Codeblocks following <a href="http://www.codewithc.com/how-to-include-graphics-h-in-codeblocks/#sthash.uwvikIbG.dpuf" rel="noreferrer">this</a> and it works properly.</p>
  
  <p>But when I try to use it, another code pops out and on the 302nd line it stands "error: redefinition of "int right". I am making this in a console file in Codeblocks IDE.</p>
  
  <p>Can anyone help? Here is my code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;winbgim.h&gt;
  #include &lt;cstdlib&gt;
  
  using namespace std;
  
  int main()
  {
     int gdriver = 9;
     int gmode = 2;
     initgraph(&amp;gdriver,&amp;gmode, "");
     setbkcolor(WHITE);
     setcolor(BLACK);
     cleardevice();
     circle(320,240,180);
     getch();
     closegraph();
     return 0;
  }
  </code></pre>