I want create and use a simple library but this is the first time, so I need help.
1. If I have cpp file with it's header, how do I create a shared library with g++.
2. After I created the .so library, how do I include it in my project. What header do I include and where the header and .so should be?