Using a plugin in C++ code

is there an example on how to use the module in code as a plug in?