install a library c++ code example
Example: install c++ library windows
The .dll can go in any directory listed in your PATH environment variable.
The .lib file can go in any directory listed in your LIB environment variable.
The .h files can go in any directory listed in your INCLUDE environment variable.