use gpaphics.h in dev c++

First you must install Free Devc++ IDE .
Next download these library files and paste them in their respective folder. Path should modified according to your installation path. 
graphics.h (Download to C:\Dev-Cpp\include), Overwrite the original one 
libbgi.a (Download to C:\Dev-Cpp\include) 
Make sure file name and path are correct. 
by using this header file you can create wonderful animated things and much more in c++ 
Thats all now you are ready, lets get this show on the road.