How To Add Graphics in Dev C++
By Using Graphics Library , We Can Draw Lines, Rectangles, Ovals, Arcs, Polygons, Images, And Strings on A Graphical Window
How To Add graphics.h in Dev C++
Downloading Dev C++
- Download Dev C++ From its Official Website Or SourceForge
- Alternatively , You Can Also Download Dev C++ From Our Server Download
- Install Dev C++
Adding Graphics Header File in Dev C++
- Download Required Files From Here Download
- Unzip The Downloaded Files
- Copy "graphics.h" And "winbgim.h" Files To "include" Folder Of Dev C++ Directory [ Default Location is C:\Program Files\Dev-Cpp\MinGW64\include\ ]
- Copy "libbgi.a" To "lib" Folder Of Dev C++ Directory [ Default Location is C:\Program Files\Dev-Cpp\MinGW64\lib ]
- Now Open Dev C++ , File => New => Project => Basic => Console Application
-lbgi
-lgdi32
-lcomdlg32
-luuid
-loleaut32
-lole32
- Click OK
- Select TDM-GCC x.x.x 32-bit Release From Drop Down Menu [Where x.x.x is Version ]
- All Done. Now Check Whether All Steps Followed Correctly Or Not By Running A Small Graphics Program. Copy & Paste Following Code & Run it
- So Our Graphics Program Running Successfully. Don't Forget To Checkout Some Interesting Source Code Of Computer Graphics Check Now !
5 comments