Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
service
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
Freenet DSL
Who's Online
13 user(s) are online (13 user(s) are browsing encyclopedia)

Members: 0
Guests: 13

more...
partner

Static library

Static libraries are programming libraries which are linked into programs at compile-time.

= Creating static libraries in C/C++ =

Static libraries are easily created when programming in C programming language or C plus plus, since the languages provide storage-class specifiers for indicating external or internal linkage. The following points characterize a static library:

  • Program has no main function to serve as entry point
  • Funtions and objects to be exported must have external linkage (e.g. not be using the static keyword)
  • See [http://publications.gbdirect.co.uk/c_book/chapter4/linkage.html The C Book - Linkage] and [http://www.informit.com/guides/content.aspg=cplusplus&seqNum=41&rl=1 C++ linkage types] for more information.

    = See also =

  • Library (computer science)
  • Dynamic-Link Library