To enable graphics.h BGI graphics to work in Dev-C++.
1. Headers and library installation:
Copy header files winbgim.h and graphics.h to your MinGW include directory.
\Program Files (x86)\Dev-Cpp\MinGW64\Include
Copy library file libbgi.a to your MinGW lib directory.
\Program Files (x86)\Dev-Cpp\MinGW64\lib
2. Dev-Cpp Tools--Compiler Options--General--Add the following commands when calling the linker:
-lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 -luser32
3. Compilers Toolbar--TDM GCC 4.9.2 32-bit Release
Available functions