ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
What is API? (Sdk)
What is API? // SdkbigbadbearApr 11, 2000, 10:41pm
Forgive me, this is my first year programing with C++ and I am only on
pointers and dynamic arrays. I do not understand what the Documentation for the sdk means when it says API. I understand how to call aw_init and what initialize means, but what is API? Call aw_init to initialize the API http://www.activeworlds.com/sdk/writing.htm (is API the class?) Thanks in advance BBB brezApr 12, 2000, 5:14am
from whatis.com
"An API (application program interface) is the specific method prescribed by a computer operating system or by another application program by which a programmer writing an application program can make requests of the operating system or another application. " The API is written for C, not C++ . but there is a wrapper: "In programming, a wrapper is a program or script that sets the stage and makes possible the running of another, more important program." for C++: http://members.xoom.com/esumerfd/ActiveWorlds/AWCPP.htm the aw sdk is a good introduction to APIs actually; fairly compact and clearly documented... I just wish there were a linux version [hint] [hint]....... brez >Forgive me, this is my first year programing with C++ and I am only on >pointers and dynamic arrays. I do not understand what the Documentation for >the sdk means when it says API. >I understand how to call aw_init and what initialize means, but what is API? > >Call aw_init to initialize the API >http://www.activeworlds.com/sdk/writing.htm > >(is API the class?) > >Thanks in advance >BBB > > > andon13Apr 12, 2000, 6:15pm
Why the heck do you need a C++ wrapper?
It's actually time saving to leave it in C . . . [View Quote] chandlerApr 14, 2000, 12:25am
i think it has something to do with Windows ? Faber..Xelag? lol
----------------------------------------- [View Quote] canopusApr 14, 2000, 1:14am
brez has it right. And since it's an Application Programming Interface written
in C, and available as a DLL, other programming languages can access the DLL & call the API functions. Not just C++, but also Delphi, Visual Basic, Java, bot programs are using the API. Just look back through the Bots NG messages. [View Quote] > Forgive me, this is my first year programing with C++ and I am only on > pointers and dynamic arrays. I do not understand what the Documentation for > the sdk means when it says API. > I understand how to call aw_init and what initialize means, but what is API? > > Call aw_init to initialize the API > http://www.activeworlds.com/sdk/writing.htm > > (is API the class?) > > Thanks in advance > BBB faberApr 14, 2000, 12:56pm
Nope, its OS, Platform, computer language, concept, language level etc. independant. Brez hat a good
explanation in his post. API is Application Programming Interface... the stuff that an Application can grab (=connect to, call, use, etc.) to get work done. Faber [View Quote] |