how to program graphics in gcc

can any one please tell me how to program graphics with gcc , what libraries should i use , ? unlike turbo c++ gcc does not have <graphics.h> library
closed account (S6k9GNh0)
OpenGL?
For GUI/widget programming I like wxWidgets: http://www.wxwidgets.org/

For Game programming I like SDL: http://www.libsdl.org/

Both are available in standard distribution packages (use apt-get, synaptic, whatever). Both have interfaces to work with OpenGL. Both have ports to multiple platforms.

Those of course are not your only options -- but those are the ones I personally prefer.
Last edited on
thanks
you need to learn some basic maths also to program in opengl. a couple of books like:

Beginning Math and Physics for Game Programmers By Wendy Stahler
Mathematics for 3D Game Programming & Computer Graphics 2nd Ed. Eric Lengyel,
3D Math Primer for Graphics and Game Development Fletcher Dunn, Ian Parberry,
Topic archived. No new replies allowed.