Hello people,

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?

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.