[Ilugc] Alternate Open library for graphics.h

  • From: d_rosh2001@xxxxxxxxxxx (Roshan)
  • Date: Tue Jan 22 23:24:11 2008

--- Dinesh Uthayakumar wrote:

I am aggressively promoting FOSS in my college.

Promote it for the right causes. :) 

I want to know if there is an alternate open library
for graphics.h of
TurboC++ ?

Assuming, there's still a lot of *dos* based
(practicals in lab) and lack of knowledge about other
C compilers, TurboC++3.0 continues to haunt colleges.
TurboC++3.0 is *meant* for DOS, not WinDOWS. Enough of
rant, back to topic.

we need them for graphics lab !

There are two of them (listed below)

One was suggested by Pradeepto, long time ago, named
Allegro ( http://www.allegro.cc/ ;) when I had put this
query in GLUG-BOM. Thanks to him. :) 
There are packages available for allegro under *buntu.
I assume, downloading and installing them isn't
difficult. 
The advantage of allegro is that it is cross-platform.
So you could compile the library for Windows too, and
programs can be easily ported. :) (Oops, that reminds
me of something else too)

However, allegro is technically a game programming
library and may be too much for primitive graphics. 

SECOND, is a very simple, low-level library, similar
to graphics.h in TC++3.0 is SVGALib. I have written an
introductory tutorial, for one to get started with
that library under *buntu. Here's the link to it:

http://db.glug-bom.org/wiki/index.php/Trivial_Graphics_Programming_with_GCC_and_Svgalib

Hope, you'll find at-least one useful. 

--
http://www.gnu.org.in
http://www.somaiya.edu/sksasc


      Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

Other related posts: