After many years I am just getting back to c++ programming (back then I had only very little experience) and I am looking for an advice from more experienced c++ developers.
I would like to know if there is some recommended way how to search and install libraries so that I can use them in my projects.
I have some experience with python where it is easy to either pacman -S python-<library-name> or use pip for library management.
For c++ I do not see an obvious way where to get the libraries right now. Is there also some place where I can search for the libraries with specific functionality - handling large data tables, signal processing, TCP/UDP packet sending and processing, sql database quering, …
It looks like c++ tutorials only handle language syntax but not the other important bits and pieces like OS integration and project compiling/building.
Most popular libraries are already in the Arch repos or in the AUR. Using them is just a matter of installing the right package, adding the correct #include <...> preprocessor directive, and providing the correct flags to the compiler/linker (usually found in the library documentation).
For smaller libraries that are not in the repos you may want to statically link them in your project. In that case, the simplest thing to do is just download the source of the library, follow the build instructions (if necessary) and add the correct #include "..." preprocessor directive and linker options (if necessary).
Personally, I find this much more elegant than using a third-party package manager like cargo, pip, npm or gem, which generally suck (and specially suck on Arch, where they can conflict with ALPM).
There is no consistent naming. For example, for Boost (a popular C++ framework, which I don’t use, because it’s bloat), the runtime libraries are in the package boost-libs but headers (which you #include) are in boost.
You can always do pacman -Fl package_name to list all files provided by that package. If you see .h or .hpp files, those are headers.