STATIC LIBRARIES VS DYNAMIC LIBRARIES
As we make computer programs, we realize that some parts of the code are used in many of them. For example, we can have several programs that use complex numbers and the functions of addition, subtraction, etc. are common. It is also possible, for example, that we like to play games, and we realize that we are repeating the code over and over again to move an image (a little Martian or Lara Croft) across the screen. It would be great to be able to measure those functions in a separate directory from the concrete programs and have them already compiled, so that we can use them whenever we want. The huge advantages of this are: - Not having to rewrite the code (or copy-paste). - We will save the time of compiling each time that code that is already compiled. In addition, we already know that while we make a program, we test and correct, it is necessary to compile between many and "more many" times. - The already compiled code will be tested and will be reliable. Not the ...