I'm trying to port a project of mine from python to c++. In my python project I had a few classes that were kind of plugins. They all were in a folder called "plugins", and each plugin had it's folder and a main.py file.

I took the idea from here. http://www.evanfosmark.com/2009/07/s...tem-in-python/
So, as you can see, each main file (aka each main file of each plugin) was "imported" (aka loaded/initialized).
Is there something similar in C++? How can I load all classes at once?

Thanks

PS: Yes, I already saw the PLUGIN_EXPORT2 & _LOAD, but I'm not really sure to want that exactly.