You can't. graphics.h is not compatible with Dev-C++
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
I can do graphics in Dev- C++. I am using Dev-C++. :).
Just follow the instructions carefully and do not forget to put linkers. You can't do a graphics by making a new source file. You need to do a new project to put linkers.
Yes, but you are not using the 16-bit functions that are in graphics.h that is supplied with Turbo C. I vaguely recall something that someone made a port of graphics.h for 32-bit MS-Windows compilers.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Why would you want to use graphics.h anyway? It was written for dos, and almost no one runs dos now.
chrjs
Junior Poster in Training
96 posts since Feb 2011
Reputation Points: 58
Solved Threads: 19