On Mon 2008-04-21 14:22:29 UTC-0000, Sahand Hosseininejad ([EMAIL PROTECTED])
wrote:
> > > Hi
> > > How Can we use api function in our programms ??
>
> > You use the right #include files at compile time AND the right library
> > files at link time.
>
> Tanx But How Can I Find libraries ....
> If you Can Please Send a link :D
Libraries to interface with the API of your operating system are
almost always supplied by your compiler.
Here's some very basic sample code, for Windows. You should be able
to use any modern Windows compiler to build it.
#include <windows.h>
int main(void)
{
Beep(4440, 250);
return 0;
}
Beep() is an API function. See
http://msdn2.microsoft.com/en-us/library/ms679277(VS.85).aspx .