Thread: Which Library to Use

  1. #1
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657

    Which Library to Use

    I am fairly practiced in the basics of C/C++..(I think so..!)
    But I'm hitting some solid roadblocks when moving into the graphics arena..
    What library should I use?..(I tried Opengl and all the examples I see use the libraries from X server...Would it be valid if the distros start using wayland instead of X?)
    Is there something which would be easy to learn and portable..while offering good results....?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Which OS/Compiler are you using to begin with?

    These are occasionally recommended as being a bit easier to cope with
    Allegro - A game programming library
    Simple DirectMedia Layer
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    O.S..Ubuntu 10.10 && Fedora 15 alpha
    Compiler.. gcc 4.5 && 4.6

    Allegro seems nice....
    But what is the difference between the numerous libraries ? Would I have to relearn everything if I try to use another one ?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    At a minimum, each new library is a new API learning experience.

    But the basic theory of say understanding how to rotate a polygon using matrices is universally constant. If you understand the underlying geometry, then finding how to do that in any given API is pretty easy.

    Likewise, many libraries have recurrent themes which will seem familiar to you as you go from one library to another.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Static library vs Dynamic library
    By Alegomaster in forum C Programming
    Replies: 5
    Last Post: 03-17-2011, 07:26 PM
  2. XML library in C
    By Opariti in forum C Programming
    Replies: 1
    Last Post: 12-09-2009, 05:38 PM
  3. Replies: 19
    Last Post: 01-12-2006, 11:04 AM
  4. Using c library in C#
    By BobS0327 in forum C# Programming
    Replies: 2
    Last Post: 04-01-2005, 10:51 AM
  5. Library Help
    By Quantrizi in forum Game Programming
    Replies: 0
    Last Post: 07-04-2002, 06:36 PM

Tags for this Thread