What is a static library?
Statical library is a computer archive that contains a group of related files for easy connection to programs. The content of this library is usually a files of machine code that people do not. These machine code files are usually generated from a compilation of a code or similar process. Most operating systems have standard extensions for static libraries, making it easy to identify regardless of size or content.
Two different types of computer libraries are static and dynamic. The static library is more flexible than the dynamic library, because its exact path is irrelevant to the executable file that uses it. Static libraries are connected to a executable file and can then be removed if necessary because their content was included in the final program. The dynamic library cannot be removed because its content is loaded as executable runs, so its location is important in view of the executable and in the operating system. Static interconnection uIt is possible to move the library of the OR again without worrying about the absolute path path.
Unlike the dynamic library, the static library is not usually executable in itself. In C ++, static libraries often behave like large objects of objects and can be connected to executable files in the same way as object files and then removed without harm to the program. Although it is often possible to give up the static library, they are often useful in terms of organization. It is usually easier for users and developers to have one file containing related material than to have many small files. Many developers build static libraries specifically for this organizational advantage.
building a static library is much easier than building a dynamic library. The content of static libraries is not connected together because they are not expected to run alone, so a simple Archiver is usually sufficient to their VYet creature. The creatinestatic library that does not develop itself is not inherently dangerous if the library is connected to any other external files that may be necessary. The library may depend on an external group of object files or one library may depend on another. The use and organization of static libraries is often a personal choice by the programmer rather than a request, although their own mobility is often a desired choice.