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.