can any one tell me where to add graphics.h so that it may not give any error.
my code block is installed at (C:\Program Files (x86)\CodeBlocks)
i need to solve this problem as soon as it is possible
IIRC Graphics.h is an extremely outdated console/graphics lib. It was bundled with really old compilers/IDEs but you won't find it with any newer compilers.
Unfortunately I can't tell you how to get/use it because it's so ancient. All I can do is recommend you try a more recent alternative, like SFML or SDL.
Last edited on
Is there any other class in which i can get some functions to draw a line and a circle.
or can i make some functions to do so
SFML and SDL. Any graphics library will do this.