I have downloaded graphics.h from http://winbgim.codecutter.org/ following the instructions from http://rekursed.blogspot.com/2012/03/how-to-include-graphicsh-in-codeblocks.html and i got the following error when trying to compile the graphics program:
1 2
redefinition of int right
int right was already declared
because of the following code
int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX
int left = 0, int top=0,int right=INT_MAX, int bottom=INT_MAX
but i recieve the following error
<graphics.h directory> cannot be saved
so i cannot edit the file to fix it. If someone may help me fix this problem. In http://rekursed.blogspot.com/2012/03/how-to-include-graphicsh-in-codeblocks.html, a person specified fixing it with a text editor if that helps. Also let me know if i have posted this in the wrong forum, please tell me so that i may be able to fix this problem. Thank you.