CompilingCyborg CompilingCyborg - 9 months ago 20
C++ Question

How I can get and use the header file <graphics.h> in my C++ program?

I have been searching to get the source codes of the header file and its associated library in order to integrate it with my C++ program.

At the same time, I am interested in those cross-platform libraries that works on more than one compiler. Just to be more explicit, I am talking about those libraries that are used for drawing shapes, lines, and curves in C++.


<graphics.h> is very old library. It's better to use something that is new

Here are some 2D libraries (platform independent) for C/C++




Also there is a free very powerful 3D open source graphics library for C++