In C++, is it possible to write code / a Makefile that exports a function from a pre-written C++ file to a shared object - i.e. a DLL / SO file.
As an example, let\'s ass