Creating Static Libraries in C/C++
Static libraries can be easily created in C or in C++. These two languages provide storage-class specifiers for indicating external or internal linkage, in addition to providing other features.
To create such a library, the exported functions/procedures and other objects variables must be specified for external linkage (i.e. by not using the C static keyword).
Static libraries usually have a ".lib" extension on Windows and a ".a" on UNIX
Read more about this topic: Static Library
Famous quotes containing the words creating and/or libraries:
“If the child knows the rewards and punishments in advance and knows that his parents will stick to them, the parents can actually empathize with the childs plight while, at the same time, creating a firm sense of structure.... Your child will sense your resolve and your empathywhether you do this with words or just a sense of warmth.”
—Stanley I. Greenspan (20th century)
“To me, nothing can be more important than giving children books, Its better to be giving books to children than drug treatment to them when theyre 15 years old. Did it ever occur to anyone that if you put nice libraries in public schools you wouldnt have to put them in prisons?”
—Fran Lebowitz (20th century)