Hello , now i'm going to tell you How to add graphics.h in Dev-C++ .
All you need to Install graphic.h in dev-C++:
1. Dev-C++ (of course) Download
2. file Graphic.h - Download
I assume you already install dev-C++ on your PC, so i immediately tell u how add graphic.h in dev-C++
First, open Dev-C++ directory,
Right Click on shortcut => open file location
it should be like this :
then, open zip file of graphic.h you already downloaded and extract to be like this :
and then Open your dev-C++ directory again and open the folder
MinGW64 >> x86_64-w64-mingw32 >> include
or
C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include
and then copy
from graphic.h folder to that folder and to be like this
and back once from the folder, and open folder Lib32
or
C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib32
and then copy libbgi.a to this folder.
Congratulation! you have installed graphic.h on your dev-C++
to ensure the graphic.h is working, you have to open Test Graphics.h folder, and open the project, and run (F11)
It must display like this
Thanks for comming to my tutorial, feel free to comment and share this tutorial, if any question, please ask me, happy to help you!!
Komentar
Posting Komentar