c++ - graphics.h - installed it, why still error? -


so followed instructions question answer in page how install graphics.h , resulted correctly. when included it, showed me error message:

c:\program files\codeblocks\mingw\include\graphics.h|302|error: redefinition of 'int right'| c:\program files\codeblocks\mingw\include\graphics.h|302|note: 'int right' declared here| 

why did happend? can please me fix problem?

this got information from: how use graphics.h in codeblocks?

did followed last resolution provided in link have specified?

  1. open file graphics.h using either of sublime text editor or notepad++,from include folder have installed codeblocks.
  2. goto line no 302
  3. delete line , paste int left=0, int top=0, int right=int_max, int bottom=int_max, in line.
  4. save file , start coding.

Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -