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?
- open file graphics.h using either of sublime text editor or notepad++,from include folder have installed codeblocks.
- goto line no 302
- delete line , paste int left=0, int top=0, int right=int_max, int bottom=int_max, in line.
- save file , start coding.
Comments
Post a Comment