By default, all characters are visible in the Linux shared library. So, everything you need to use the class from another program has already been exported.
Typically, C ++ classes cannot be used directly by other languages, but there are several ways around this. For example, you can write a C shell or use SWIG.
source share