Minimal example part 2
After having compiled part 1, compile this one like this:
g++ test2.so test.cpp
Then run ./a.out
Minimal example part 2
After having compiled part 1, compile this one like this:
g++ test2.so test.cpp
Then run
./a.out