Thread: is API better then SDL?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    SDL is an API, so I think you are confused about something.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    84
    Quote Originally Posted by matsp View Post
    SDL is an API, so I think you are confused about something.

    --
    Mats
    really? then why they use separate libraries?

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What you are asking is something like "Which is better a BMW or a CAR?" - SDL is a library that provides an application programmer with a certain functionality, through an interface. Thus it is a Application Programming Interface - API.

    Presumably you would like to compare the SDL API with <some other> API.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    84
    Quote Originally Posted by matsp View Post
    What you are asking is something like "Which is better a BMW or a CAR?" - SDL is a library that provides an application programmer with a certain functionality, through an interface. Thus it is a Application Programming Interface - API.

    Presumably you would like to compare the SDL API with <some other> API.

    --
    Mats
    Thanks alot, now I understand it, anyways, what is the bestt interface programming should i learn before learning OpenGL or DirectX?

    And can u explain me what is GUI (I know it stands for -Graphical User Interface- or something like that) is it good?

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    History of the graphical user interface - Wikipedia, the free encyclopedia

    As to what is "best to learn", if you define "best", I can POSSIBLY answer that...

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems compiling this SDL app
    By Rider in forum C++ Programming
    Replies: 3
    Last Post: 03-27-2007, 12:22 PM
  2. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  3. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM
  4. OLE Clipboard :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2002, 05:57 PM
  5. sdl in c++
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-07-2002, 07:46 AM