Newbie question

This is a discussion on Newbie question within the C++ Programming forums, part of the General Programming Boards category; Sometimes you want a program to expose an API. That is usually (to the best of my knowledge) done by ...

  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をこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,554
    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,189
    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.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

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, 05:45 PM
  3. a stupid question from a newbie
    By newcomer in forum C++ Programming
    Replies: 4
    Last Post: 01-11-2003, 03:38 PM
  4. confusion with integers (newbie question)
    By imortal in forum C Programming
    Replies: 7
    Last Post: 12-06-2002, 03:09 PM
  5. newbie class templates question
    By daysleeper in forum C++ Programming
    Replies: 2
    Last Post: 09-18-2001, 09:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21