Thread: Newbie question

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    41

    Newbie question

    Sometimes you want a program to expose an API. That is usually (to the best of my knowledge) done by making API classes and then in runtime the calls to the API are copied over to the inside so to say.

    Does anyone have any idea what I am after?
    Could someone explain this or are there any links showing what this looks like?


    /Mike

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I have no idea about the
    "and then in runtime the calls to the API are copied over to the inside so to say."
    part.

    However, it seems you want a DLL? And export classes/functions from them?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by mdoland View Post
    Sometimes you want a program to expose an API. That is usually (to the best of my knowledge) done by making API classes and then in runtime the calls to the API are copied over to the inside so to say.

    Does anyone have any idea what I am after?
    Could someone explain this or are there any links showing what this looks like?


    /Mike
    There are generally 2 ways an API is implmented. As a DLL or as a LIB. a DLL API is what they call 'run-time libraries' whereas a LIB is a static library.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Stupid Newbie question
    By TimL in forum C++ Programming
    Replies: 4
    Last Post: 07-22-2008, 04:43 AM
  2. C prog newbie question
    By Draginzuzu in forum C Programming
    Replies: 1
    Last Post: 02-03-2003, 06:45 PM
  3. a stupid question from a newbie
    By newcomer in forum C++ Programming
    Replies: 4
    Last Post: 01-11-2003, 04:38 PM
  4. confusion with integers (newbie question)
    By imortal in forum C Programming
    Replies: 7
    Last Post: 12-06-2002, 04:09 PM
  5. newbie class templates question
    By daysleeper in forum C++ Programming
    Replies: 2
    Last Post: 09-18-2001, 09:50 AM