If you are starting in programming / C++, I will start by having a good understanding of how a static and dynamic libs works and make a couple of tutorials to make a .dll and .lib. Google is your best friend for this: I just find this for e.g: http://www.bogotobogo.com/cplusplus/libraries.php.
Note that the way you make a lib depends on your C++ compiler. The ones I have on top of my head are an integrated development environment (IDE) like Visual Studio or also the gnu C++ compiler.