Hello! My teacher wants me to write a bunch of functions to save into a library that I can use in other programs. How do I create and save a library? I'm using Microsoft Visual Studio 2015. Please be thorough in any instructions as I'm super new to programming. Thanks!
+ Write a static library
+ Write a dynamic library
Static library includes a header file and an implementation file. When you use the static library, you use the static library and just the header file.
Dynamic library is a little bit more complex but it can be used by multiple programs at the same time. You export functions and classes and then you load necessary components in the client program using LoadLibrary and GetProcAddress.