Graphics Programming in C++

I need to know where to get a graphics library, how to install and configure it and make it work, could anyone please help me with this? I am using dev c++
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Well use GDI & GDI+ they come with the OS and you can do all you want!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
And if you need more speed, try using DirectDraw - for this you have to download Microsoft's DirectX SDK
This is the C++ topic area.  C++ has NO graphics capabilities at all.

You should ask this in a more appropriate topic area.  If you are targeting Windows, the Windows Programming topic area might be better.
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

You could use Glut with/or OpenGL...

Take a look at
You should consider the Qt toolkit (

- Using the QPainter class you can do paintings (lines, circles, rectangles, polygones, bitmaps) in a widget.

- It also knows the QCanvas class for more complex 2D objects (which may be moved, may have transparency).

- And there is a QGl class for 3D OpenGl graphics.

- If you want to plot x-y graphs you may look for the Qt based Qwt library.
Use OPEN GL, its the best

#include <gl/gl.h>               // Standard opengl include.
#include <gl/glu.h>              // Opengl utilities.
#include <gl/glaux.h>            // auxiliary functions.
#include <gl/glut.h>             // This is the header file for Glut.

there is loads of open gl hep on the internet , from tutorails for newbies to gaint mass pojects and activities, just search on google.
mosr compliers come with it , but if you don't have teh libires goto :

are the best, they both tell you how to set it up in what ever complier.
I do not want to start a war but 2D graphics with Opengl is not my idea of "the best".

The question was quite broad, and should have been more specific:

What kind of graphics  2D or 3D ?
doing what : graph, pie chart, bar chart ?
text drawing  (word processor, reports, etc...) ?
game graphics (2D game, 3D game) ?

without precise needs, it is hard to answer, and even harder to claim:
 "Opengl is the best"

No comment has been added lately, so it's time to clean up this TA. I will
leave a recommendation in the Cleanup topic area that this question is:

Answered: Points split between DAnderson and iRBIs

Please leave any comments here within the next seven days.

Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (


-bcl (bcladd)
EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.