Thread: What's an API?

  1. #1
    Registered User FloatingPoint's Avatar
    Join Date
    Jun 2003
    Posts
    191

    What's an API?

    Hello all.

    In layman's terms, what does an API mean really?

    Thanx.
    Come cast your shadow over me
    and I'll cast mine all over thee
    Take me away, into the shades
    where there is no light of day

  2. #2
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    Application Program(ming) Interface...
    Asian and Pacific Islander...

    but I assume you want the first one...

    Well, there's the normal C/C++ window, the DOS command prompt lookin' thingy.

    And then there's the App Program Interface. That's like Windows programs and stuff...

  3. #3
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Abnormally Placid Iguana

    Essentially, its a uniform interface for programming with a particular library or for a particular task, etc.

    Windows API is just one example.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  4. #4
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    >>Windows API is just one example

    Good point

  5. #5
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    Re: What's an API?

    Originally posted by FloatingPoint
    Hello all.

    In layman's terms, what does an API mean really?

    Thanx.
    Let me put it in much simpler terms..

    Now consider windows programming or OpenGL programming.. to create a window, minimise the window, maximise etc etc you dont write code to do evrything to redraw screen etc etc.. but you just call appropriate functions...


    example:- createwindow(1,1,100,200); or what ever...


    so you actually dont program to create the window yourself.. you dont have to worry about drawing the window with hard code.. the API does it for you.. so you can say that an API is actually a set of functions which hide the implementation details from you and provide an standard environment...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. platform specific API or C standard API
    By George2 in forum C Programming
    Replies: 1
    Last Post: 11-12-2007, 01:32 AM
  2. OpenSSL and Win32 SSL API :: SSL/TLS
    By kuphryn in forum Networking/Device Communication
    Replies: 0
    Last Post: 03-10-2004, 07:46 PM
  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. pthread api vs win32 thread api
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 11-20-2001, 08:55 AM