Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 476
  • Last Modified:

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++
0
phate
Asked:
phate
2 Solutions
 
DAndersonCommented:
Well use GDI & GDI+ they come with the OS and you can do all you want!


0
 
iRBIsCommented:
And if you need more speed, try using DirectDraw - for this you have to download Microsoft's DirectX SDK
0
 
jhanceCommented:
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
SnurreCommented:
You could use Glut with/or OpenGL...

Take a look at www.opengl.org
0
 
stefanqCommented:
You should consider the Qt toolkit (www.trolltech.com):

- 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.
0
 
FatNewbieCommented:
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.
0
 
FatNewbieCommented:
mosr compliers come with it , but if you don't have teh libires goto : www.opengl.org/users/downloads/
or
http://66.243.88.197/~bganderson/OpenGL/OpenGL.htm

are the best, they both tell you how to set it up in what ever complier.
0
 
DAndersonCommented:
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) ?
etc...

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

Danderson
0
 
bcladdCommented:
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 (http://www.experts-exchange.com/help.jsp#hi73).

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

-bcl (bcladd)
EE Cleanup Volunteer
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now